[Gm版本库]网站首页跳转代码

[复制链接]
查看2254 | 回复0 | 2012-5-8 00:39:33 | 显示全部楼层 |阅读模式
把下面代码   location.href="http://www.gmbbk.net" 换成你自己的首页地址即可!

=========================================================
<html><SCRIPT>
if (top.location != self.location)
{
top.location=self.location
}
</SCRIPT>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>正在进入</title>
<style type="text/css">
<!--
.STYLE2 {font-size: 72px}
.STYLE3 {
font-size: 50px;
color: #0000FF;
font-weight: bold;
font-family: "宋体";
}
.STYLE4 {color: #FF00FF}
.STYLE5 {color: #FF0000}
.STYLE6 {color: #FF0000; font-size: 72px; }
-->
</style>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="105" colspan="2"><div align="center"><SPAN id=tiao>&nbsp; </SPAN>自动连接到网站……
  <SCRIPT language=javascript type="">
function countDown(secs){
tiao.innerText=secs;
if(--secs>0){
     setTimeout("countDown("+secs+")",10);
     }else{
     location.href="http://www.gmbbk.net"
     }
}
countDown(5);
</SCRIPT></div> </tr>
  <tr>
    <td height="135" colspan="2"> </td>
  </tr>
  <tr>
    <td colspan="2"><div align="center">
</div></td>
  </tr>
</table>
</body>
</html>

回复

使用道具 举报

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

本版积分规则