沈阳网站建设公司  客服热线:13998289627  客服QQ:有事点这里 客服QQ:有事点这里
网站建设
成功案例
域名注册
虚拟主机
网站优化SEO
建站流程
flash网站
首页 | 网站建设 | 成功方案 | 域名注册 | 虚拟主机 | 企业邮局 | 网站知识 | OA办公系统 | 实用网址 | 网站地图 | 联系我们 | 在线支付

网站跳转代码

沈阳志鼎科技 来源:本站 时间:2012-8-28


网站建设过程中,有很地方涉及到网站自动跳转的问题,比如404页的跳转,网站注册后多少秒跳转等。下边我们就提供一下网站跳转的代码方案两个
方案一

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






沈阳网页设计
沈阳网页设计
  联系我们
13998289627
13998289627
地址:皇姑区长江南街3号
邮编:110003
客服:有事点这里 
客服:有事点这里
email:07diy@163.com
  我们的优势
1、8年网站制作经验和优秀的技术团队。
2、更合理的网站建设价格。
3、为您免费在百度、Google、Yhaoo等推广网站。
4、365天不间断稳定快速的访问网站。
5、完善的售后服务客户良好的口碑。
沈阳志鼎科技 沈阳网站建设专家
http://www.07diy.com|Copyright 2003-2006