usefulcodes.blogspot.com
AboutME
ajabgajabBLOG
nabinkm.com
NewPost
Friday, November 14, 2008
Time Delayed execution of function in Javascript
I had complained about re-directing my site by some un-known ghosts.
I have created a simple function which stops it from re-direction but also gives enough time to load the contents...
<script>
window.setTimeout('window.stop()',3000);
</script>
Reference:
http://www.howtocreate.co.uk/tutorials/javascript/timers
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment