|
Post by seowebtrick on Jul 26, 2011 23:52:24 GMT -5
I use this code to redirect on page load, is there any problem because this is not working properly <script language="JavaScript"> <!-- var sTargetURL = "redirectiontarget.htm";
function doRedirect() { setTimeout( "window.location.href =url, 2*1000 ); }
//--> </script>
<script language="JavaScript1.1"> <!-- function doRedirect() { window.location.replace( sTargetURL ); }
doRedirect();
//--> </script>
<body onload="doRedirect()">
<p>Loading <a href="redirectiontarget.htm">redirection target</a></p> <p>In approx. 2 seconds the redirection target page should load.<br> If it doesn't please select the link above.</p> Web designer india, website designer india, web developer india, website developer india
|
|