`
liangchuns
  • 浏览: 4808 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

js实现全屏代码

阅读更多

<script language="JavaScript"> 
            if   (this.name!='FullWnd')     
                    {                             
                                window.open(location.href,'FullWnd','fullscreen,scrollbars=no');       
                                this.parent.opener=null;     
                                this.parent.close();     
                 }   
</script> 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics