AquaFX Posted May 18, 2006 Share Posted May 18, 2006 I am trying to make so when i window loads it loads a specific size. Is there a way to do that using dhtml, java, html? Link to comment https://www.neowin.net/forum/topic/462312-custom-window-size/ Share on other sites More sharing options...
0 Viserov Posted May 18, 2006 Share Posted May 18, 2006 How about a JavaScript popup window? Link to comment https://www.neowin.net/forum/topic/462312-custom-window-size/#findComment-587521435 Share on other sites More sharing options...
0 Dan Williamson Posted May 18, 2006 Share Posted May 18, 2006 I'm not the best at Javascript but I think it's: <script type="text/javascript"> <!-- window.open('url.htmlWindow1', config='height=300,width=300'); //--> </script> Link to comment https://www.neowin.net/forum/topic/462312-custom-window-size/#findComment-587521795 Share on other sites More sharing options...
0 gigapixels Veteran Posted May 18, 2006 Veteran Share Posted May 18, 2006 If you're looking to resize a window after the pages loads, use this: function resizeOuterTo(w,h) { if (parseInt(navigator.appVersion)>3) { if (navigator.appName=="Netscape") { top.outerWidth=w; top.outerHeight=h; } else top.resizeTo(w,h); } } Link to comment https://www.neowin.net/forum/topic/462312-custom-window-size/#findComment-587521810 Share on other sites More sharing options...
Question
AquaFX
I am trying to make so when i window loads it loads a specific size. Is there a way to do that using dhtml, java, html?
Link to comment
https://www.neowin.net/forum/topic/462312-custom-window-size/Share on other sites
3 answers to this question
Recommended Posts