//視窗最大化
//將視窗左上端點位置移到螢幕最左上角
top.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.outerHeigh = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
沒有留言:
張貼留言