找回密码
 立即注册

扫一扫,微信登陆

QQ登录

只需一步,快速开始

查看: 568|回复: 0

[HTML] 网页跳转代码

[复制链接]

259

主题

11

回帖

3110

积分

Administrator

我是大家的小可爱

积分
3110

最佳新人活跃会员热心会员推广达人宣传达人灌水之王突出贡献优秀版主荣誉管理论坛元老

发表于 2021-6-19 02:25:12 | 显示全部楼层 |阅读模式
第一种:直接跳转
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="zh-CN">
  4. <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
  5. <meta http-equiv="refresh" content="0.1;url= http://www.jyyidc.com/linux">
  6. <title></title>
  7. </head>
  8. <body>
  9. </body>
  10. </html>
复制代码
第二种:带有百分数的显示跳转
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  4. <title>正在进入</title>
  5. </head>
  6. <body>
  7. <form name=loading>  
  8.  <p align=center> <font color="#0066ff" size="2">正在进入,请稍等</font><font color="#0066ff" size="2" face="Arial">...</font>
  9.   <input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:#0066ff; background-color:#fef4d9; padding:0px; border-style:none;">  
  10.   
  11.   <input type=text name=percent size=47 style="color:#0066ff; text-align:center; border-width:medium; border-style:none;">  
  12.   <script>   
  13. var bar=0   
  14. var line="||"   
  15. var amount="||"   
  16. count()   
  17. function count(){   
  18. bar=bar+2   
  19. amount =amount + line   
  20. document.loading.chart.value=amount   
  21. document.loading.percent.value=bar+"%"   
  22. if (bar<99)   
  23. {setTimeout("count()",100);}   
  24. else   
  25. {window.location = " http://www.jyyidc.com/linux/ ";}   
  26. }</script>  
  27.  </p>  
  28. </form>  
  29. <p align="center"> 如果您的浏览器不支持跳转,<a style="text-decoration: none" href=" http://www.jyyidc.com/linux/ "><font color="#FF0000">请点这里</font></a>.</p>
  30. </body>
  31. </html>
复制代码
第三种:和第一种差不多也是直接跳转
  1. <html><head><title>稍候。。。</title></head>
  2. <body>
  3. <script language='javascript'>document.location = ' http://www.jyyidc.com/linux/  '</script>
  4. </body>
  5. </html>
复制代码


玖毅网官网www.jiuy.cc 玖毅云服务器www.jyyidc.com
玖毅资源站www.91xzz.cn 算力收录站www.cdngpu.com
玖毅网论坛www.webbbs.cn 玖毅系统站www.91system.cn
可可网络验证www.kekeyz.cn 万年历www.20250101.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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