急找隐藏掉ie的地址栏工具栏标题栏只有关闭按钮的代码

来源:百度知道 编辑:UC知道 时间:2024/05/22 17:23:17
麻烦快给我 急

<script language='javascript'>
if(window.opener==null){
window.opener=null;
window.close();
window.open('当前页面','','toolbar=no,menubar=no,location=no,status=no,width=' + screen.width + ',height=' + screen.height + ',left=0,top=0');
}
</script>

这个答你看看
function modelesswin(url,mwidth,mheight){
if (document.all&&window.print) //if ie5
eval('window.showModelessDialog(url,"","help:0;resizable:1;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px"')
else
eval('window.open(url,"","width='+mwidth+'px,height='+mheight+'px,resizable=1,scrollbars=1"')
}

//configure URL and window dimensions (width/height)
modelesswin("http://qq.com",600,600)

//To load via link, use so