Click to go to Javascript page after 5 seconds

You can set the delay as long as you want.

Source Code

<script language="JavaScript1.2">
function delayURL(url, time)
{
setTimeout("top.location.href='" + url + "'", time);
}
</script>

<a href="javascript:;" onClick="delayURL('../javascript.htm','5000')">Click to go to Javascript page after 5 seconds</a>

 

Send mail to santhosh_emids@yahoo.com with questions or comments about this web site.
Last modified: November 12, 2000