Scriptaculous effects new help

Alan Red
Mon, 31 Mar 2008 18:35:26 -0000

I have been experimenting with the scriptaculous effects and can get
them working with a click as shown below:

<a id="blink" style="cursor: pointer;" onclick =
"new
Effect.Highlight(''fun'', {duration:
2});">Flash

but I want the effect to happen when the page loads but I have no idea
how to do this can anyone help?
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---