`
haimav
  • 浏览: 54051 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

url网页自动转发代码 自动转向网址

阅读更多


一个简单实用的代码
<META HTTP-EQUIV="Refresh" CONTENT="5;URL=http://www.itblo.com/">
把上面的语句放到<head>----</head>的之间!
其中的"5"为转发时间,为5秒后转发,后面的地址为转发到的地址!

 

其他

<html>
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>Wanyou's Sky</title>
</head>
<frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="http://hi.baidu.com/baishuijj" scrolling="auto" noresize>
</frameset>
</html>

(2)不隐藏真实URL代码1:

<script language="javascript">
url ="http://hi.baidu.com/baishuijj"
location.href=url;
</script>

(3)倒记时URL转发代码:

<meta http-equiv="refresh" content="3; url=http://hi.baidu.com/baishuijj">


说明:把粉红色的标题改为你自己的,把鲜红色的地址改为你要到达的地址,把紫色的数字改为你需要的秒数时间。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics