发布网友 发布时间:2022-04-21 20:22
共2个回答
热心网友 时间:2022-04-22 18:53
<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>
按钮的OnClick事件调用这个函数试试!
热心网友 时间:2022-04-22 20:11
很多浏览器都有这个工能。按快键F11就好了!