2014-09-29 96 views
0

我创建了一个html页面,其中包含几个链接,我用width-400和height-200做了一个弹出窗口。 但客户的要求是当窗口弹出用户不应该调整它。
我尝试resizable = no,resizable = 0,但没有任何工作,所有使窗口调整大小。 如果有其他方法,请帮助我。在html中禁用窗口大小调整大小

这里是我的jsfiddle链接这样http://jsfiddle.net/uj07cf7o/7/

window.open("disclaimer.jsp", "popup", "width=400,height=200",'resizable=no'); 
+0

的[禁用HTML页面调整大小]可能重复(http://stackoverflow.com/questions/3734400/disable-the-html-page-resizing) – jbutler483 2014-09-29 10:38:11

+0

我在我的问题中明确提到resizable = no不起作用 – user2721624 2014-09-29 10:40:44

+1

请提供JSfiddle请 – Katler 2014-09-29 10:42:17

回答

1

更新..

window.open('YOURPAGE.htm', 'popper', 'directories=no,location=no,menubar=no,toolbar=yes,status=no,scrollbars=yes,resizable=no,height=500,width=565') 
+0

感谢您的回答。上面提到的代码不适合我。 – user2721624 2014-09-29 11:00:37