self.resizeTo and popup problem

W

webgour

Hello,

using ie6 I open a popup using:
<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>

With 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.
 

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

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top