Have you tried 'onbeforeunload'?

- kangax

On Apr 24, 7:52 pm, Kyle <[EMAIL PROTECTED]> wrote:
> I was wondering if it was possible in Prototype/Scriptaculous to run
> an effect when a link is clicked, then go to that page, or if it was
> possible to have an effect run when the page unloads.
>
> I have tried <body onunload="new Effect.Fade("whatever");> and some
> prototype page exit events, could get a alert("") function to work,
> but not the effects. Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-spinoffs@googlegroups.com
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