javascript - 我们如何禁止在 Firefox 中调整新弹出窗口的大小?

标签 javascript firefox popup

我尝试使用打开一个新窗口

window.open("lookup.htm","lookupWin", "height=400,width=500,resizable=false");

它在 IE 中工作正常,但在 FF 中弹出窗口仍然可以调整大小。如何在 FF 中也禁用此调整大小?

最佳答案

mdc 中阅读这篇文章

窗口功能特点

可调整大小

If this feature is set to yes, the new secondary window will be resizable.

Note: Starting with version 1.4, Mozilla-based browsers have a window

resizing grippy at the right end of the status bar, this ensures that users can resize the browser window even if the web author requested this secondary window to be non-resizable. In such case, the maximize/restore icon in the window's titlebar will be disabled and the window's borders won't allow resizing but the window will still be resizable via that grippy in the status bar.

从 Firefox 3 开始,辅助窗口总是可以调整大小的

Bug 177838 - 使所有弹出窗口可调整大小,忽略 resizable=no

关于javascript - 我们如何禁止在 Firefox 中调整新弹出窗口的大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1715201/

相关文章:

javascript - Textext jquery 插件不适用于多个 TextArea

WPF 如何将 Popup 附加到像矩形这样的简单 UIElement

javascript - 这两个代码之间有什么区别?

javascript - 对特定 val 的 json 对象进行排序?

java - 如何将所选对象参数从下拉菜单发送到 JSP 中的函数

javascript - IE Popup 定位问题与 Javascript referrer hack

cocoa - 下拉窗口编辑 Cocoa 弹出菜单项

css - Mozilla 渲染。第一个 LI 元素向右浮动

javascript - 以编程方式访问浏览器中的网页错误详细信息

jQuery .slideToggle 在 Chrome 中完美运行,在 Firefox 中不太完美