现在的位置: 首页 > 综合 > 正文

打开IE窗口时最大化

2014年02月16日 ⁄ 综合 ⁄ 共 312字 ⁄ 字号 评论关闭
<script>
function openWinByView(url) {
    var winObj = window.open("b.htm", "","toolbar=no, menubar=no, scrollbars=no,status=no");
    var width=screen.availWidth;
    var height=screen.availHeight;
    winObj.resizeTo(width, height);
    winObj.moveTo(0, 0);
   
}
</script>
<input type="button" onclick="openWinByView('b.htm')" value="op" >

抱歉!评论已关闭.