newwin=window.open("","xx","width=300,height=200");
执行这一句时直接就打开窗口了
有没有办法把这个opject赋值给newwin这个变量却不打开窗口呢_______________________________________________________这个不可能吧,只有执行了open()之后才会返回newwin对象;————————————————————————————————var thewin = new Array();
newwin[0]=new Array(window.open("","xx","width=300,height=200"));
thewin[0]=new Array(window.open("","xx","width=300,height=200")); _______________________________________________________
newwin[0]=window.open("","xx","width=300,height=200");
thewin[0]=window.open("","xx","width=300,height=200");对数组的理解错识啊
执行这一句时直接就打开窗口了
有没有办法把这个opject赋值给newwin这个变量却不打开窗口呢_______________________________________________________这个不可能吧,只有执行了open()之后才会返回newwin对象;————————————————————————————————var thewin = new Array();
newwin[0]=new Array(window.open("","xx","width=300,height=200"));
thewin[0]=new Array(window.open("","xx","width=300,height=200")); _______________________________________________________
newwin[0]=window.open("","xx","width=300,height=200");
thewin[0]=window.open("","xx","width=300,height=200");对数组的理解错识啊
for(k=0;k<winarray.length;k++){
if(winarray[k][1] == windowname){
if(winarray[k][0]&&winarray[k][0].open&&!winarray[k][0].closed){
}
else{
winarray[k][0] = window.open("",windowname,"height=336,width=502");
}
j = 1;
}
}
if(j == 0){
winarray[winarray.length] = new Array(window.open("",windowname,"height=336,width=502"),windowname);
}
搞定 大概意思写出来是这样 大家参考下
谢谢大家的热情也谢谢1楼的帮助
因为手上没分了 不好意思