admin管理员组文章数量:1296843
I have opend a popup window using javascript. now in that popup window i have got a button and on click on that button i wants to changes size of that (current/same page) popup window.
Please tell me how we can do this. Thanks
I have opend a popup window using javascript. now in that popup window i have got a button and on click on that button i wants to changes size of that (current/same page) popup window.
Please tell me how we can do this. Thanks
Share Improve this question asked Dec 3, 2010 at 9:07 Dr. Rajesh RolenDr. Rajesh Rolen 14.3k42 gold badges110 silver badges180 bronze badges2 Answers
Reset to default 3The methods you have to use are resizeTo() or resizeBy().
The option to resize a window may be restricted by browser-settings.
IE:
self.resizeTo(500,400);
Other browsers:
window.outerHeight = 500;
window.outerWidth = 400;
Those examples were from the site mentioned below:
http://www.perlscriptsjavascripts./tutorials/javascript/window_1.html
Hope that helps :)
本文标签: javascriptHow to set PopUp Window sizeStack Overflow
版权声明:本文标题:javascript - How to set PopUp Window size - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741644393a2390101.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论