code show as below:
<span id="tiao">3</span><a href="javascript:countDown"></a>布丁足迹;秒后自动跳转……<meta http-equiv=refresh content=3;url='/search/billsearch.jsp'</ul>
<!--脚本开始-->
<script language="javascript" type="">
function countDown(secs){
tiao.innerText=secs;
if(--secs>0)
setTimeout("countDown("+secs+")",1000);
}
countDown(3);
</script>
<!--脚本结束-->
按钮式:
<INPUT name="pclog" type="button" value="GO" onClick="location.href='http://www.ddhbb.com/'">
链接式:
<a href="javascript:history.go(-1)">Return to the previous step</a> Direct jump:
<a href="<%=Request.ServerVariables("HTTP_REFERER")%>">Return to the previous step</a>
<script>window.location.href='http://www.ddhbb.com';</script>
开新窗口:
<a href="javascript:" onClick="window.open('http://www.ddhbb.com/blog/guestbook.asp','','height=500,width=611,scrollbars=yes,status=yes')">布丁足迹</a>
JS jump page reference code
The first type:
<script language="javascript" type="text/javascript">
window.location.href="login.jsp?backurl="+window.location.href;
</script>
The second:
<script language="javascript">
alert("return");
window.history.back(-1);
</script> The
third:
<script language="javascript">
window.navigate(" top.jsp");
</script>
Fourth:
<script language="JavaScript">
self.location='top.htm';
</script>
Fifth:
<script language="javascript">
alert( "Illegal access!");
top.location='xx. jsp';
</script>
====== javascript pops up the selection box to jump to other pages ======
<script language="javascript">
<!--
function logout()...{
if (confirm("Are you sure you want to log out? Yes - select OK, no - select cancel"))...{
window.location.href="logout.asp ?act=logout"
}
}
-->
</script>
======A pop-up prompt box in javascript jumps to other pages======
<script language="javascript">
<!--
function logout() ...{
alert("Are you sure you want to log out?");
window.location.href="logout.asp?act=logout"
}
-->
</script>