<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>newpaeg</title>
</head>
<script language='Javascript'>
function go(){
//window.location="http://www.sohu.com";
window.location.replace("http://www.sohu.com");
//跳转到http://www.sohu.com页面,转至同一目录还是其它网页看你给的地址了
}
setTimeout("go()",2000);
//2秒钟后执行go()
</script>
<body>
</html>
这段代码复制一下就行了。看可以帮你否。
<html>
<head>
<title>newpaeg</title>
</head>
<script language='Javascript'>
function go(){
//window.location="http://www.sohu.com";
window.location.replace("http://www.sohu.com");
//跳转到http://www.sohu.com页面,转至同一目录还是其它网页看你给的地址了
}
setTimeout("go()",2000);
//2秒钟后执行go()
</script>
<body>
</html>
这段代码复制一下就行了。看可以帮你否。
最恨的就是这种一句话问题!
web 文盲啊
window.location.href="http://www.beihf.com.cn/cms/";
</script>