内容字号:默认大号超大号

段落设置:段首缩进取消段首缩进

字体设置:切换到微软雅黑切换到宋体

html网页自动跳转代码大全.

时间:2015-02-25 01:49:40 来源: 作者: 人气: 评论:

 html网页自动跳转代码大全.网页跳转代码可以有多种方法实现,我们举几种最好最简单的方法.
绿色
部分替换为你要跳转的地址

方法一:
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="zh-CN">
  4. <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
  5. <meta http-equiv="refresh" content="0.1;url=http://www.buyzd.cn">
  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=utf-8">
  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. <input type=text name=percent size=47 style="color:#0066ff; text-align:center; border-width:medium; border-style:none;">
  11. <script> 
  12. var bar=0 
  13. var line="||" 
  14. var amount="||" 
  15. count() 
  16. function count(){ 
  17. bar=bar+2 
  18. amount =amount + line 
  19. document.loading.chart.value=amount 
  20. document.loading.percent.value=bar+"%" 
  21. if (bar<99) 
  22. {setTimeout("count()",100);} 
  23. else 
  24. {window.location = "http://www.buyzd.cn";} 
  25. }<script>
  26. <p>
  27. <form>
  28. <p align="center"> 如果您的浏览器不支持跳转,<a style="text-decoration: none" href="http://www.buyzd.cn"><font color="#FF0000">请点这里<font><a>.<p>
  29. <body>
  30. <html>
 
方法三:
  1. <html><head><title>稍候。。。<title><head>
  2. <body>
  3. <script language='javascript'>document.location = 'http://www.buyzd.cn'<script>
  4. <body>
  5. <html>
分享给小伙伴们:
本文标签:网页自动跳转  

相关文章

    无相关信息

发表评论共有条评论

友情链接1 百悠游站点 |

友情链接2: 帝国CMS |

百悠游站点,电脑学习,游戏网赚分享,游戏工作室门户网站。

Copyright (C) buyzd.cn, All Rights Reserved.

百悠游站点 版权所有