View Full Version : Auto Resize

08-21-2002, 05:31 AM
Is it possible to make it so that when you open a page, it will automatically resize itself to specied height and width?

I tried
function openWindow(){
window.open(URL,"","width=300 height=600");
<body onLoad="openWindow()">

but for some reason, when i visit the page, it asks me if its ok to rezise the window. I really need to avoid that if possible.


08-21-2002, 06:23 AM
What's with the close?

function openWindow(URL){
pop=window.open(URL,"","width=300 height=600");


<body onLoad="openWindow('http://www.google.com')">

You can also change it once loaded:

from popupsite:


or from the first page:


08-21-2002, 06:27 AM
hmm.. let me describe this better..... im trying to replace the window. So essentially what i want done is this.... The window to open, read my script, and finally resize itself WITHOUT scroll bars to the height and width i told it to. Can anyone help me??:confused:

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum