有如下多种方法,你自己挑一个喜欢的:
1、
2、
var userAgent = navigator.userAgent;
var MSIEIndex = userAgent.indexOf("MSIE");
if (userAgent.indexOf("Win") != -1 &&
userAgent.indexOf("MSIE") != -1 &&
userAgent.substring((MSIEIndex + 5),(MSIEIndex + 8)) >= 5.5)
window.location.replace("http:http://www.qiujiangyue.com/http://www.qiujiangyue.com/www.iice.sov.cn");
http://www.qiujiangyue.com/http://www.qiujiangyue.com/–>
没时间转移
3、
有些人想访问网站时,直接进入某个子目录中的文件,如cgi-binhttp://www.qiujiangyue.com/leoboard.cgi,这时,你只要写一个默认的首页文件如index.htm,内容如下,就可以实现你的要求.
方法一:
网页跳转方法二
正在进入>>> Loading>>>
正在进入,请等待,谢谢……
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()",10);}
else
{window.location = "http:http://www.qiujiangyue.com/http://www.qiujiangyue.com/www.iice.sov.cn";}
}