in reply to Re: Tracking user exits
in thread Tracking user exits
One reason why, if a user hits cancel, the meta refresh gets canceled, while a javascript/one doesn't if you just call your function without using any events like so
<script language=javascript> <!--// var counter=1000; var urla="http://pathto/logout.cgi"; function stoperror(){ return true; } window.onerror=stoperror; function countdown() { if(counter==0) { window.location=urla; } counter--; setTimeout("countdown();",995); } countdown(); //--> </script>
"cRaZy is co01, but sometimes cRaZy is cRaZy".
- crazyinsomniac
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: RE: Re: Tracking user exits
by merlyn (Sage) on Sep 06, 2000 at 22:07 UTC | |
by crazyinsomniac (Prior) on Sep 07, 2000 at 04:44 UTC | |
by tye (Sage) on Sep 07, 2000 at 19:08 UTC |