Hi,
How to get and set window popup height and width in Internet Explorer using JavaScript
In Firefox I am able to set the height and width using outerHeight , outerWidth property of window.
Thanks.
Hi,
How to get and set window popup height and width in Internet Explorer using JavaScript
In Firefox I am able to set the height and width using outerHeight , outerWidth property of window.
Thanks.
window.open('something.html','new_win','width=320,height=240');
See also: http://google.com/search?q=popup+window+height+width+ie
If it's an existing window, you can set the size using window.resizeTo
(MSDN link):
window.resizeTo(640, 480)
Or, you can specify the size when the window's being created using the window.open
method (MSDN link):
window.open ("http://stackoverflow.com",
"mywindow","location=1,status=1,scrollbars=1,
width=640,height=480");