window.open()
function makePopup(url,width,height,overflow){
var a='';
var b='';
if(width>640)
{
width=640;
}
if(height>480)
{
height=480;
}
if(overflow==''&& overflow=='both')
{
a=b='yes';
}
else if(overflow=='resize')
{ a='yes';
b='no';
}
else if(overflow='scroll')
{
a='no';
b='yes';
}
else {
a=b='yes';
}
var win=window.open(url,'','width='+width+',height='+height+',scrollbars='+b+',resizable='+a+',toolbar=no,status=yes,menubar=no,location=no');
return win;
}
window.onload=linksd;
function linksd()
{
var wins=makePopup('1.html',640,300,'resize');
self.focus();
return wins.closed;
}
问,,怎么弹出的窗体是全屏啊,,,那里的参数怎么会都没有用到啊?