- ·上一篇文章:ASP:去掉字符串中的超连接
- ·下一篇文章:页面上gif动画只播放一次
当前位置:K88软件开发 → 文章中心 → 编程语言 → Css/Css3 → Css/Css301 → 文章内容
去掉IE地址栏、工具栏、菜单栏
放到head中
<
script 
language=&
#39
javascript&
#39
>
 
if(window.opener==null)
{ 
window.opener=null
 
window.close()
 
window.open(&
#39
index.html&
#39
,&
#39
&
#39
,&
#39
toolbar=no,menubar=no,location=no,status=no,width=&
#39
 
+ 
screen.width 
+ 
&
#39
,height=&
#39
 
+ 
screen.height 
+ 
&
#39
,left=0,top=0&
#39
)
 
} 
<
/script>
<
script 
language=&
#39
javascript&
#39
>
 
if(window.opener==null)
{ 
window.opener=null
 
window.close()
 
window.open(&
#39
index.html&
#39
,&
#39
&
#39
,&
#39
toolbar=no,menubar=no,location=no,status=no,width=&
#39
 
+ 
screen.width 
+ 
&
#39
,height=&
#39
 
+ 
screen.height 
+ 
&
#39
,left=0,top=0&
#39
)
 
} 
<
/script>
去掉IE地址栏、工具栏、菜单栏