网页跳转代码的三种方法
最编程
2024-03-29 19:59:39
...
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>正在进入</title>
</head>
<body>
<form name=loading>
<p align=center> <font color="#0066ff" size="2">正在进入,请稍等</font><font color="#0066ff" size="2" face="Arial">...</font>
<input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:#0066ff; background-color:#fef4d9; padding:0px; border-style:none;">
<input type=text name=percent size=47 style="color:#0066ff; text-align:center; border-width:medium; border-style:none;">
<script>
var bar=0
var line="||"
var amount="||"
count()
function count(){
bar=bar+2
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{setTimeout("count()",100);}
else
{window.location = " http://www.jyyidc.com/linux/ ";}
}</script>
</p>
</form>
<p align="center"> 如果您的浏览器不支持跳转,<a style="text-decoration: none" href=" http://www.jyyidc.com/linux/ "><font color="#FF0000">请点这里</font></a>.</p>
</body>
</html>
推荐阅读
-
保护大型企业核心代码的方法
-
用 C 语言求阶乘之和的三种实现方法(先求阶乘再求加法)
-
JS 创建对象的三种方法,构造函数
-
使用 java 随机写入生成的姓名和身份证号码,根据这些信息写入一个方法,生成仅供用户测试使用的 base64 代码
-
HTML 字体标记的颜色属性是什么? fontcolor 使用方法介绍(附颜色代码表)
-
HTML 如何设置字体颜色?HTML 字体颜色设置的三种方法
-
使用 Docker 更新容器映像的三种方法
-
在 CentOS 7 上安装 Node.js 的 4 种方法(yum 安装和源代码安装)
-
Flash 允许服务器在网页中显示图像的操作方法
-
java 实现文件上传的三种方法