最大化窗口示例

xiaoxiao2026-09-03  1

最大化窗口示例:

function maxWindow(){window.moveTo(0,0);if (document.all){top.window.resizeTo(screen.availWidth,screen.availHeight);}else if (document.layers||document.getElementById){if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){top.window.outerHeight = screen.availHeight;top.window.outerWidth = screen.availWidth; }}}

转载请注明原文地址: https://www.6miu.com/read-5052342.html

最新回复(0)