1 三种简单的html网页自动跳转方法,可以让你在打开一个html网页时自动跳转到其它的页面。 2 方法一、 3 <html> 4 <head> 5 <meta http-equiv="Content-Language" content="zh-CN"> 6 <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> 7 <meta http-equiv="refresh" content="0.1;url=http://www.kaigesheji.com/wangzhanjianshe/"> 8 <title></title> 9 </head> 10 <body> 11 </body> 12 </html> 13 方法二、 14 <html> 15 <head> 16 <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 17 <title>正在进入</title> 18 </head> 19 <body> 20 <form name=loading> 21 <p align=center> <font color="#0066ff" size="2">正在进入,请稍等</font><font color="#0066ff" size="2" face="Arial">...</font> 22 <input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:#0066ff; padding:0px; border-style:none;"> 23 24 <input type=text name=percent size=47 style="color:#0066ff; text-align:center; border-medium; border-style:none;"> 25 <script> 26 var bar=0 27 var line="||" 28 var amount="||" 29 count() 30 function count(){ 31 bar=bar+2 32 amount =amount + line 33 document.loading.chart.value=amount 34 document.loading.percent.value=bar+"%" 35 if (bar<99) 36 {setTimeout("count()",100);} 37 else 38 {window.location = "http://www.kaigesheji.com/wangzhanjianshe/";} 39 }</script> 40 </p> 41 </form> 42 <p align="center"> 如果您的浏览器不支持跳转,<a style="text-decoration: none" href="http://www.kaigesheji.com/wangzhanjianshe/"><font color="#FF0000">请点这里</font></a>.</p> 43 </body> 44 </html> 45 方法三、 46 <html><head><title>稍候。。。</title></head> 47 <body> 48 <script language='javascript'>document.location = 'http://www.kaigesheji.com/wangzhanjianshe/ '</script> 49 </body> 50 </html> 51 52 53 54 转,,,,,,,,,,,,,