similar to: Effect together with ...firstChild - can''t get it to work

Displaying 20 results from an estimated 400 matches similar to: "Effect together with ...firstChild - can''t get it to work"

2005 Mar 06
8
Tutorial about XMLHttpRequest+Rails
Hi All I just finished writing up a tutorial relating my experience developing a system to edit line-items ''in-line'' in my Rails application using XMLHttpRequest. I thought this might be of interest to some readers of this list... Check it out at http://hieraki.goodlad.ca/read/book/1 Thanks! Dave -- Dave Goodlad dgoodlad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or
2005 Nov 07
2
Font rendering in Firefox after effects
Hi all I''ve started using some of the scriptaculous effects here, and have noticed something weird. Whenever I use one of the effects, it causes many of the fonts on the same page to rendered with a lighter weight (ie: "less bold"). Has anyone else noticed a similar effect in Firefox? I use 1.5b1 on Mac. This seems to be a common bug in moz-based browsers, as Camino does
2005 Mar 07
2
erb and builder in same view ....
Has anyone tried using erb and builder in the same file? Either .rxml or .rhtml? I''m wanting to do some think like the following: xml.div(''id''=>''menu'') {|xml| link_to "create race", :controller=>"derby", :action=>"new" } Thanks, -- Tom. -- "Nothing will ever be attempted, if all possible objections must
2005 Mar 06
2
Using url_for in ActionMailer templates
Hi All I am just adding some basic e-mail notices to my Rails app using ActionMailer, and have one small issue. I want to provide a confirmation URL to users who sign up for an account. I can obviously just hardcode the URL and append the confirmation code to it, but I''d much rather be able to use something like: url_for(:controller => ''authentication'', :action
2006 Apr 28
1
startcolor and endcolor not working
In my RJS template this works: page.visual_effect :highlight, "test#{@test.id}", {:duration => 5} but not this: page.visual_effect :highlight, "test#{@test.id}", {:duration => 5, :startcolor => "#FFFFFF"} Am I misunderstanding how to pass in additional parameters? _______________________________________________ Rails-spinoffs mailing list
2005 Apr 23
7
Validation question
Hi all, Is there a way to invoke validations at times other than save, create and update? I know that I can do this by writing my own validation checks using errors.add_[blah], but I''d like to leverage the existing validation code. What I have is two sets of fields in a record, set A and set B. Both sets must be validated on record create. However, the trouble is that after
2006 Mar 16
6
Unknown image type: VMX
Hi all I am trying to get VMX guests working on my new server here. The machine has a Pentium D 920 on an ASUS P5WD2-E motherboard. I''ve updated the BIOS to the latest 0401, which added the virtualization option. I am running a fresh installation of Gentoo (64-bit). When I try and run ''xm create'' on a vmx config file, I get the following error: Error: Error
2006 Dec 13
4
RSpec and simply_helpful
Hi All I''m having some problems running my view specs when using simply_helpful. I have it semi-working via the following: module SimplyHelpfulHelper def self.included(base) base.send :include, SimplyHelpful::RecordIdentificationHelper base.send :include, SimplyHelpful::RecordTagHelper end end context "The index template" do setup do @shift =
2006 Dec 12
3
Stubs breaking other things
Hi All I''m working on converting some existing controller specs to use mocks and stubs rather than real ActiveRecord objects in a Rails project. In one of my controller actions, I use a database transaction. So, the obvious thing to do is have this in my setup block: Project.stub!(:transaction) Firstly, is there an easy way to have that stub yield to the block passed to any
2005 Feb 28
5
Using session data in model
Hi, I want to use my some session data when I validate som data in the model. The specific problem I have is that I present different forms data based on gender, and then dependent of the gender, there''s different fields that needs validation. I''m wondering what''s the preffered way of doing this. The session data is not present in the model, i.e: class Myclass
2007 Feb 22
9
specking, speccing, or spec''ing
I vote for spec''ing. Anybody else?
2005 Jul 06
4
Bug in shop demo
http://script.aculo.us/demos/shop if you drag an item from the product list straight to the droppable area to remove an item from the cart, it''ll still add it to the cart. -PJ
2006 Jan 18
6
Consistent testing with methods that depend on Date.today
Hi everyone I''m building an app in which quite a bit of data is dependant on dates (and times), and I have logic that depends on when ''today'' is. I''m trying to get some better functional tests written, and am unsure of the best way to approach it. The problem is that I want the tests to run against the same data every time, whether I run it on Tuesday or
2005 Mar 03
19
Better tools for authoring the view
I''m hand editing my .css and .rhtml files using SciTE and hitting refresh in my browser to see the results - its slow going. What tools are people using to author their .css and .rhtml files? Thanks, Neville _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jun 16
11
Detecting Body Onload
I have a piece of code that "waits" for body onload. Every 30ms, it tests $(''body''). Seems that isn''t always good enough. I''ve hit situations where the DOM is "partially" loaded somehow. I fixed matters by setting a global flag... <body onload="bodyLoaded=true;"> which provides a better test... of course I could
2006 Aug 07
9
[OT] Rails is built into OS X 10.5
This coming out of WWDC. Pretty cool to see this kind of thing happen. -- J "Brien" | HybridIndie Productions | http://hybridindie.com | hybridindie@gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060807/380ae29c/attachment.html
2007 Jun 26
5
Migration of Effect from 1.4.0 to 1.5.1
Hi, Is there migration for custom Effect between prototype/scriptaculous 1.4 and 1.5 ? Kevin Davis send me it''s cool Poof Effect but it seems to be tooooo fast in last version of scriptaculous. I think it comes from the code ? But I don''t know the best way to correct that ? Here is a copy/past of his mail for anybody interested in his Effect: > > Hey there, sorry for
2005 Dec 28
1
Problem with IE
Hi there, let me introduce myself, i am a web developer from venezuela, my english is not the best, sorry by that... i am developing a form builder, is simple, just dragging form elements to a droppable container, all works well but im showing to my friends and... surprise!!! doesn''t work in Internet Exploiter, i am a linux user with firefox, im looking in internet how fix it but i dont
2006 Feb 07
2
Question about Classes.
I have the attached class that I''m writing. The problem that I''m running into is that I can not access the options from the createArray function which get called after the ajax request gets done. I want to move the values of the xml file to an array and story it in the options variable. Can someone explain what I''m doing wrong? var LeaderInfo = Class.create();
2006 Jun 16
2
Javascript error?
Hi, I''m trying to get this progress bar plugin working, but I''m having some trouble. I''m running Apache 2.0.52 with mod_fcgid on Mac OS X. Everything seems to be working fine, but the progress bar simply doesn''t work. In my log I get: Multipart upload with progress (id: 1, size: 176731770) Finished processing multipart upload in 18.96244s but no requests in