Method 1:
[Html]
<SPAN style = "FONT-SIZE: 12px"> <script type = "text/javascript">
<! --
Function go (t, url ){
// T sets the jump time in seconds.
// Url setting jump url
Document. write ("<div id = text> This page will jump: <span id = 'link'> </span> </div> ");
Document. getElementById ("link"). innerHTML = "<a href =" + url + ">" + url + "</a> ";
$ (T, url );
}
Function $ (t, url ){
Ta = T-1;
Tb = t + "000 ";
D = document. getElementById ("tt ");
D. innerHTML = t;
Window. setInterval (function ()
{
Go_to (url );
},1000 );
}
Function go_to (url ){
D. innerHTML = ta --;
If (ta <0 ){
Document. write ("redirecting to: <a href =" + url + ">" + url + "</a> ");
Location. href = url;
}
Else {
Return;
}
}
// -->
</Script>
<Script type = "text/javascript">
Go (5, "/Login. aspx ")
</Script> </SPAN>
<Script type = "text/javascript">
<! --
Function go (t, url ){
// T sets the jump time in seconds.
// Url setting jump url
Document. write ("<div id = text> This page will jump: <span id = 'link'> </span> </div> ");
Document. getElementById ("link"). innerHTML = "<a href =" + url + ">" + url + "</a> ";
$ (T, url );
}
Function $ (t, url ){
Ta = T-1;
Tb = t + "000 ";
D = document. getElementById ("tt ");
D. innerHTML = t;
Window. setInterval (function ()
{
Go_to (url );
},1000 );
}
Function go_to (url ){
D. innerHTML = ta --;
If (ta <0 ){
Document. write ("redirecting to: <a href =" + url + ">" + url + "</a> ");
Location. href = url;
}
Else {
Return;
}
}
// -->
</Script>
<Script type = "text/javascript">
Go (5, "/Login. aspx ")
</Script>
Method 2:
Window. setTimeout ("too many locationparameters 'index.shtml '", 2000 );
// Jump to the new page in two seconds