禁用调整新弹出窗口的大小 [英] Disable Resizing of new popup windows

查看:81
本文介绍了禁用调整新弹出窗口的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想禁用调整弹出窗口的大小.我正在使用以下代码,但这在任何浏览器中均不起作用.
我的代码:

Hi,
I want to disable resize of popup window. I am using following code but this is not working in any browser.
My Code:

window.open(url,'POPUP', "width=360,height=400,toolbar=no,directories=no,menubar=no,status=no,resizable=no,scrollbars=no");


当我使用


And when i m using

<BODY Onload='noresize'>.



此代码仅在IE中有效,而在mozilla中不起作用.
请帮帮我
在此先感谢
Pankaj



This code working in only in IE, not in mozilla.
Please help me
Thanks in advance
Pankaj

推荐答案

查看此处:
https://support.mozilla.com/zh-CN/forum/1/120127 [ ^ ]

许多人报告说,在"Firefox 3"窗口中.打开可调整大小"选项不起作用.
Look here:
https://support.mozilla.com/en-US/forum/1/120127[^]

Lots of people have reported that in ''Firefox 3'' window.open resizable option is not working.


这篇关于禁用调整新弹出窗口的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆