html 自动跳转页面
生活随笔
收集整理的這篇文章主要介紹了
html 自动跳转页面
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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>
23
24 <input type=text name=percent size=47>
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 ><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 轉,,,,,,,,,,,,,
總結
以上是生活随笔為你收集整理的html 自动跳转页面的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: M语言的写、改、删(Power Quer
- 下一篇: 步多多如何记录步数