Oh good. So for my edification, are you saying that you are able to run a function after the unload event? I may have been laboring under a misconception about that.

Thanks,

Walter

On Mar 9, 2011, at 4:06 PM, Joannes De KOSTER wrote:

Thanks a lot. beforeunload fires earlier than unload . Good to know!

By the way, i just forgot to implement my LibererThreads function :/

Bye and thanks again for your help.

2011/3/9 Walter Lee Davis <wa...@wdstudio.com>
Try observing beforeunload instead. I think that unload fires too late -- i.e. after the page has really unloaded, and thus there's nothing left of the page to do any work for you.

Walter


On Mar 9, 2011, at 3:53 PM, Joannes De KOSTER wrote:

Hello,

I try to launch a javascript when i leave a page. I tryed this way but it don't seem to be working right :

Event.observe(window, 'unload', LibererThreads);

Does anybody have an idea how to deal with this?

Thanks a lot.

--

Sincères salutations.

Joannes De KOSTER

4 impasse de l'Orangerie
30250 Villevieille
T : 04 66 53 29 54
P : 06 16 26 43 28
www.defi-sud.com

--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .

--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .




--

--

Sincères salutations.

Joannes De KOSTER

4 impasse de l'Orangerie
30250 Villevieille
T : 04 66 53 29 54
P : 06 16 26 43 28
www.defi-sud.com

--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .

--
You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to