how do I redirect to a page after 5 seconds? ..
Please give me the entire code
Moderators: macek, egami, gesf
<script language="JavaScript">
<!--
t=1; function dorefresh() { u=new String("<?=$URL;?>");
ti=setTimeout("dorefresh();",5000); if (t>0) { t-=1; }
else { clearTimeout(ti); window.location=u.replace("#","&t="+parseInt(10000*Math.random())+"#"); }
} window.onLoad=dorefresh();
//--></script><noscript><meta http-equiv="Refresh" content="1; URL=<?=$URL;?>"></noscript>


Users browsing this forum: No registered users and 1 guest