<span id="tiao">3</span><a href="javascript:countDown"></a> The pudding footprint ; Automatic jump after seconds... <meta http-equiv=refresh content=3;url='/search/billsearch.jsp'</ul>
<!-- Script to start -->
<script language="javascript" type="">
function countDown(secs){
tiao.innerText=secs;
if(--secs>0)
setTimeout("countDown("+secs+")",1000);
}
countDown(3);
</script>
<!-- End of the script -->
Push button:
<INPUT name="pclog" type="button" value="GO" onClick="location.href='http://www.ddhbb.com/'">
Link type:
<a href="javascript:history.go(-1)"> Step back </a>
<a href="<%=Request.ServerVariables("HTTP_REFERER")%>"> Step back </a>
Direct jump:
<script>window.location.href='http://www.ddhbb.com';</script>
Open a new window:
<a href="javascript:" onClick="window.open('http://www.ddhbb.com/blog/guestbook.asp','','height=500,width=611,scrollbars=yes,status=yes')"> The pudding footprint </a>
JS jump page reference code
The first: < Script language = “javascript” type = “text/javascript” > Window. The location. Href = “login. JSP? Backurl = ”+ window. The location. Href; < / script> The second: < Script language = “javascript” > Alert (” return ”); Window. The history. The back (1); < / script> The third: < Script language = “javascript” > Window. Navigate (” top. JSP ”); < / script> Fourth: < Script language = “JavaScript” > The self. The location = ‘top. HTM’; < / script> Fifth: < Script language = “javascript” > Alert (” illegal access!” ); Top. Location = ‘xx. JSP; < / script>
= = = = = javascript pops up a selection box to jump to another page = = = = = < Script language = “javascript” > < ! — The function logout ()… { ) are you sure you want to be deactivated Yes - select ok, no - select cancel ”))… { Window. The location. Href = “logout. Asp? Act = logout” } } - > < / script>
= = = = = = javascript prompt box to jump to another page = = = = = < Script language = “javascript” > < ! — The function logout ()… { Alert (” are you sure you want to log off?” ); Window. The location. Href = “logout. Asp? Act = logout” } - > < / script> [/ code]