self.resizeTo and popup problem

W

webgour

Hello,

Using ie6 I open a popup with:
<a href="#"
onclick="javascript:window.open('TESTPOPUP.HTML','POPUP','toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbar=0,scrollbars=0,resizable=0,copyhistory=0,width=800,height=500,left=50,top=50');return
false;">TESTPOPUP</a>

Within the popup ('TESTPOPUP.HTML') I try to resize the window using :
<body onload="self.resizeTo(640,360);"></body>

However this gives me a popup window of pixel size 630x311 instead of
640x360
expected, How come??

Thanks.
 
W

webgour

Forget this post, I just figured it out. It is because it includes the
status bar and the title bar and the borders of the window which is 640x360
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top