RSS
当前位置:奥利资料网 > 站长在线 > 网站SEO > 正文

网页跳转代码大全

来源:网络收集 作者:Admin 时间:09年04月17日 浏览:

t;
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.aully.com/";}
}</SCRIPT>
</P></form>
</body>
</html>

 

<五>
网页跳转方法+代码
1. window.location
<body onload=window.location="http://www.***.com(请换成你的网址)"></body>
  
或(此法应用范围较广,并可应用在一般后台编辑器中)
<script>window.location="http://xxx"</script>
  
2. META标志
<META HTTP-EQUIV=refresh content="0; url=http://www.***.com(请换成你的网址)">
//其中content后面的阿拉伯数字是代表过几秒中钟转入目标网页。
  
3. 利用框架隐藏转向地址(此方法不便用 dreamweaver 编辑,请使用记事本或其他文本编辑器处理)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>知觅__朱高站</title>
</head>
<frameset rows="*,0" frameborder="no" border="0" framespacing="0">
<frame src="http://www.***.com(请换成你的网址)" name="mainFrame" id="mainFrame">
<frame src="" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame">
</frameset>
<noframes>
<body>
请用IE浏览
</body>
</noframes>
</html>

<六>
<html>
<head>
<title>页面跳转</title>
 

最新评论
昵称
评论內容