Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- stopping jquery animations


sssweb - 5:23 pm on Apr 4, 2012 (gmt 0)


My script sets the timeOut vars dynamically so I'm not sure how your idea would work. Since the script as is seems to work for clearing the timeouts, will the following work to clear the timeout AND delete the var:

function clearAllTimeouts(){
for(key in timeOuts ){
clearTimeout(timeOuts[key]);
delete timeOuts[key];
}
}


Thread source:: http://www.webmasterworld.com/javascript/4435326.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com