javascript技巧

关注公众号 jb51net

关闭
首页 > 网络编程 > JavaScript > javascript技巧 > javascript fullscreen全屏

javascript fullscreen全屏实现代码

作者:

用了实现打开一个满屏的代码
<script type="text/javascript" language="javascript">
function fullscreen()
{
win = window.open("Main.aspx","_blank","resizable=yes;status=yes;toolbar=no;location=no;menubar=no;directories=no;scrollbars=no;");
window.opener=null;
window.open('','_self');
window.close();
win.moveTo(0,0);
win.resizeTo(screen.availWidth,screen.availHeight);
}
</script>
您可能感兴趣的文章:
阅读全文