2008年12月29日星期一

javascript--如何弹出全屏的窗口

function displayWindow(urll,windowname,width,height,IENSX,IENSY)
{
var value=null;
width = screen.width - 10;
height = screen.height-150;

print_page = window.open("",windowname,'width=' + width + ',height=' + height + ' ,top=0,left=0,toolbar=1,menubar=1,resizable=1,scrollbars=1,status=0');

print_page.focus();
print_page.location.href = urll
print_page.opener = self;
}

没有评论:

发表评论