注册 登录
编程论坛 JavaScript论坛

用window.open()在IE9中怎么控制不了大小及位置!???

IT男year 发布于 2015-10-11 10:00, 1149 次点击
1、A页面中的Js代码:
<script type="text/javascript">
    function fun1() {
       //我有下面的代码在IE9中打开子页面,子页面的大小还是全屏!
        window.open("AJax2.jsp","","height=100, width=400, top=100, left=100, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no");
    }
    function fun2(para1) {
        var num1=document.getElementsByTagName("input")[0];
        num1.value=para1;
    }
</script>
我在IE9中
希望大神指点!!!最好是贴源码回复!!!
3 回复
#2
冰镇柠檬汁儿2015-10-18 19:54
只有IE9才有这样的问题吗?如果是的话,多半是浏览器兼容问题。
#3
IT男year2015-10-22 19:11
回复 2楼 冰镇柠檬汁儿
那你觉得应该怎么解决呢,亲!???
#4
冰镇柠檬汁儿2015-10-23 09:13
不会,因为window.open快成了禁用的方法了,很多浏览器都有拦截设置
1