[Javascript] timeout

Andrew Gibson andyg at ihug.co.nz
Tue Jun 19 01:26:43 CDT 2001


Thanks Rodney I only just found it now

p=setTimeout("me",30)

clearTimeout(p) 

also worked.

 > Assuming the link unloads the current page:
 > 
 > onUnload="clearTimeout()"
 > 
 > hth
 > 
 > Rodney
 > 
 > Andrew Gibson wrote:
 > 
 > > I have a function running on a timeout
 > >
 > > p=setTimeout("start()",3000)
 > >
 > > How can I stop the timeout when a user clicks
 > > another link?
 > >
 > 
 > --
 > Shop at ssistant Add-ons and Developer Workshops
 > http://www.aflyingstart.net/addons/
 > 
 > Enquiries regarding Shop at ssistant Classic training :
 > Call 01256 880770
 > 
 > Rodney Myers
 > Based in Oxford, England
 > Technical Director, Shop at ssistant eCommerce Solutions
 > 
 > 
 > 
 > _______________________________________________
 > Javascript mailing list
 > Javascript at LaTech.edu
 > http://www.LaTech.edu/mailman/listinfo/javascript
 > 




More information about the Javascript mailing list