golgeyele
08-22-2003, 05:27 PM
Is it possible a javascript function to run lets say about 10 seconds after the browser is opened? If so how?
|
Click to See Complete Forum and Search --> : Calling function after a time golgeyele 08-22-2003, 05:27 PM Is it possible a javascript function to run lets say about 10 seconds after the browser is opened? If so how? Charles 08-22-2003, 05:37 PM See http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/window.html#1203758. AdamBrill 08-22-2003, 08:16 PM Here is a simple example:<body onload="setTimeout('my_function();',10000);">It will wait 10 seconds and then run my_function() webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |