See title. Using either javascript or pure HTML.
+3
A:
window.open('url.htm','mywindow','width=400,height=200,left=0,top=100,screenX=0,screenY=100');
Colin
2009-07-27 20:06:35
And what about resize?
Josh Stodola
2009-07-27 20:09:20
window.resizeTo(width, height);
Colin
2009-07-27 20:12:50
A:
To make it non-resizable, just add a 'resizable=0' as one of the parameters.
window.open('url.htm','mywindow','width=400,height=200,
left=0,top=100,screenX=0,screenY=100,resizable=0');
idrumgood
2009-07-27 21:00:16
A:
You should carefully consider the use of non-resizable windows.
If the user has their default font size larger than the normal then your content won't fit as expected. In addition, if you specify a size larger than their screen you won't get the size you expect.
These situations are not that uncommon when you consider netbooks, handheld devices and computers that are attached to televisions.
RonnBlack
2009-07-27 21:03:32