1.PHP delay Jump code//jump to the browsing interfaceHeader("refresh:1;url=machine_list.php");//No delay<?PHPHeader("Location:http://www.baidu.com");?>//PHP Internal JS output CodeEcho("<script language=\" javascript\ ">alert (\" modified successfully!) \ "); Location.href= ' machine.php?sb_id={$SB _id} ';</script> ');//go back to the previous interface and refresh the bufferEcho"<script>alert (' exit succeeded! '); Location.href= ' ".$_server["Http_referer"]. "'; </script> ";//delay jumps to the previous interface and refreshesHeader("refresh:1;url={$_server[' Http_referer ']} ");2.JavaScript Jump<script language= "JavaScript" >window. location= "Http://www.baidu.com";</script> <script language= "JavaScript" >Document. location = "Http://www.baidu.com";</script>
Click event to jump compatible Firefox
onclick= "window.location.href= ' machine_list.php ';"
Click event Jump Compatible Firefox opens in a new window
Onclick=window.open (' machine_list.php ');
3.(with progress bar)
<title> Jump to Baidu.com</title> <body>
<form name=loading> <p Align=center><font face=arial color=#0066ff size=2>loading...</font><input style= "padding-right:0px; padding-left:0px; Font-weight:bolder; padding-bottom:0px; COLOR: #0066ff; Border-top-style:none; padding-top:0px; Border-right-style:none; Border-left-style:none; Background-color:white; Border-bottom-style:none "size=46 name=chart> <BR> <input style= "Border-right:medium none; Border-top:medium none; Border-left:medium none; COLOR: #0066ff; Border-bottom:medium none; "Size=47 name=percent> <script language=" JavaScript ">varBar=0varLine= "| |"varAmount= "| |"Count() function Count() {bar=bar+2Amount=amount +Line Document. loading.chart.value=Amount Document. loading.percent.value=bar+ "%"if(bar<99) {setTimeout ("Count ()", 100); }Else{window. location = "http://www.baidu.com/"; } } </script> </P> </form>
</body>
4.HTML
5.ASP Jump
<%Response. Redirect "http://www.baidu.com"%>
PHP JS HTML ASP page jump code delay jump code back to the previous interface and refresh