<script>
var bar=0
var line="||"
var amount="||"
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 = "将这里改成要转入的网址";}
}</script>
手动
<script language="网页特效">
<!--
function gotourl() { //v2.0
for (var i=0; i< (gotourl.arguments.length - 1); i+=2) //with arg pairs
eval(gotourl.arguments+".location="+gotourl.arguments[i+1]+"";
document.returnvalue = false;
}
//-->
</script>
<body bgcolor="#ffffff" onload="gotourl(parent,将这里改成要转入的网址);return document.returnvalue">
三
<script language="javascript">
<!-- start code
var ver = navigator.appversion;
if (ver.indexof("msie" != -1)
{
window.location.href="将这里改成要转入的网址"
}else
window.location.href="将这里改成要转入的网址"
// end code -->
</script>
利用met
<meta http-equiv="refresh" content="0.1;url=将这里改成要转入的网址">
看一个html网页根据来访这的浏览器语言不同自动跳转多语言页面
<script>
var type=navigator.appname
if (type=="netscape")
var lang = navigator.language
else
var lang = navigator.userlanguage//cut down to first 2 chars of country code
var lang = lang.substr(0,2)// 英语
if (lang == "en")
window.location.replace('url')// 简体中文
else if (lang == "zh-cn")
window.location.replace('url')// 繁体中文
else if (lang == "zh-tw")
window.location.replace('url')// 德语
else if (lang == "de")
window.location.replace('url')// 除上面所列的语言
else
window.location.replace('url')</script>