js高手请进,麻烦看看为什么弹出页面网址不对
我想弹出A/B/C/D四个页面,但是弹出的网址是http://A,B,C,D请看看是怎么回事//JavaScriptDocument<!--varisXPSP2=fals...
我想弹出A/B/C/D四个页面,但是弹出的网址是http://A,B,C,D
请看看是怎么回事
// JavaScript Document
<!--
var isXPSP2 = false;
var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6";
//--------------------------------------------------------------------------------
var str_url;
str_url = window.location.search;
function ext()
{
if(doexit)
{
doexit=false;
if(!isXPSP2 && !usePopDialog)
{
window.open(popURL1,"",popWindowOptions);
}
else if(!isXPSP2 && usePopDialog)
{
eval("window.showModalDialog(popURL1,'',popDialogOptions)");
}
else
{
iie.launchURL(url);
}
}
}
//--------------------------------------------------------------------------------
function brs()
{
document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>";
}
//--------------------------------------------------------------------------------
function ver()
{
isXPSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);
if(isXPSP2) brs();
}
//--------------------------------------------------------------------------------
var urls="http://A|
http://B|
http://C|
http://D|http://E";//定义弹出窗口地址,用|隔开
var url=urls.split("|");//分解字符串得到数组
var c=url.length;
for(i=0;i<c;i++){
window.open(url[i]);
}
isUsingSpecial = true;
if (str_url.indexOf("2005")!=-1 ||str_url.indexOf("2006")!=-1 ||str_url.indexOf("2007")!=-1)
{
}
else
{
eval("window.attachEvent('onload',ver);");
eval("window.attachEvent('onunload',ext);");
}
//--------------------------------------------------------------------------------
//--> 展开
请看看是怎么回事
// JavaScript Document
<!--
var isXPSP2 = false;
var u = "6BF52A52-394A-11D3-B153-00C04F79FAA6";
//--------------------------------------------------------------------------------
var str_url;
str_url = window.location.search;
function ext()
{
if(doexit)
{
doexit=false;
if(!isXPSP2 && !usePopDialog)
{
window.open(popURL1,"",popWindowOptions);
}
else if(!isXPSP2 && usePopDialog)
{
eval("window.showModalDialog(popURL1,'',popDialogOptions)");
}
else
{
iie.launchURL(url);
}
}
}
//--------------------------------------------------------------------------------
function brs()
{
document.body.innerHTML+="<object id=iie width=0 height=0 classid='CLSID:"+u+"'></object>";
}
//--------------------------------------------------------------------------------
function ver()
{
isXPSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);
if(isXPSP2) brs();
}
//--------------------------------------------------------------------------------
var urls="http://A|
http://B|
http://C|
http://D|http://E";//定义弹出窗口地址,用|隔开
var url=urls.split("|");//分解字符串得到数组
var c=url.length;
for(i=0;i<c;i++){
window.open(url[i]);
}
isUsingSpecial = true;
if (str_url.indexOf("2005")!=-1 ||str_url.indexOf("2006")!=-1 ||str_url.indexOf("2007")!=-1)
{
}
else
{
eval("window.attachEvent('onload',ver);");
eval("window.attachEvent('onunload',ext);");
}
//--------------------------------------------------------------------------------
//--> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询