Hey there,

PAOEGONVG a écrit :
> I'm pretty new to javascript, and scriptaculous, but I know what I want
> to do.
> I want to make it so that when a person clicks a link, the previous
> content of the div fades out, and the new content fades in.

Your issue is due to parallel execution.  You need per-link effect
queues.  You'll find a code very similar to your needs (it handles
mouseover and mouseouts much the same way you want to handle your
clicks) here:

  http://tddsworld.com/extrahost/rails-spinoffs/hoverfades.html

Regards,

-- 
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to