no resizable in popup window dont work in firefox

一个人想着一个人 提交于 2019-12-25 04:29:13

问题


i try to open new window with javascript window.open func,

and add 'resizable = no' parameter,

in ie its work , but in firefox it allow to resize

how can i block it in firefox ?

thanks.


回答1:


Popup window is always resizable in Mozilla, Opera.

Check this link:

The popup is always resizable in Mozilla, Opera and Konqueror. When making the popup resizable in Safari, actually resizing it makes the popup jump to a width of ca. 400px, which cannot be decreased.




回答2:


Try without spaces, if you don't do that already:

resizable=no



回答3:


Another try:

http://www.technipages.com/firefox-prevent-sites-from-disabling-window-resize.html

You can prevent it in firefox, do you have that on? I know I would.




回答4:


Did you consider it is really annoying for users not being able to resize their browser window? I would suggest you find another solution to whatever problem you're trying to solve.



来源:https://stackoverflow.com/questions/1666219/no-resizable-in-popup-window-dont-work-in-firefox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!