找回密码
 快速注册,只需10秒

QQ登录

只需一步,快速开始

邀请码获取方法加入海之魂QQ群:88478617【海大好论坛,有奖征文获奖结果!】
查看: 4273|回复: 0

网页自动跳转代码html [亲测已成功]

[复制链接]
发表于 2011-8-23 16:53:25 | 显示全部楼层 |阅读模式
方案一

<html>
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta http-equiv="refresh" content="0.1;url=http://www.dlmubbs.com">
<title></title>
</head>
<body>
</body>
</html>


方案二

<html>
<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.dlmubbs.com";} 
}</script>
 </p>
</form>
<p align="center"> 如果您的浏览器不支持跳转,<a style="text-decoration: none" href="http://www.dlmubbs.com"><font color="#FF0000">请点这里</font></a>.</p>
</body>
</html>




----------------------------------------------------分割线-------------------------------------------------------------------------------
点此查看原文链接
学汇百川,德济四海。

本版积分规则

QQ|Archiver|手机版|小黑屋|大连海事大学学生论坛 ( 辽ICP备11008169号-1 )
(举报/合作等)站长:13898692357 邮箱:592479023#qq.com (请注明原因,并直奔主题,每封必回)
本站法律顾问:ITLAW-庄毅雄律师

GMT+8, 2024-11-24 00:50 , Processed in 0.071754 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表