hi there,
This will ensure that all code only runs once the dom is fuly loaded:

document.observe('dom:loaded', function() {
new Effect.fade ....
}

On Feb 1, 11:27 pm, ert <[EMAIL PROTECTED]> wrote:
> hello
>  i want like to make fade effects on images but one thing that gots me
> wondering is how do i get to have those effects start processing only
> when the images have been loaded in the document?  i just read
> something about the load event that uses the window object but still
> dont get it how  ???
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to