Position an opening window in IE

D

Daniele Baroncelli

Hi guys,

I am trying to find out how to position an opening window in Internet
Explorer.

While in Netscape/Mozilla/Firefox exist the options screenX and screenY for
the open method of the window object, I couldn't find anything similar in
IE.


Thanks for any help on this.


Cheers

Daniele
 
M

Martin Honnen

Daniele Baroncelli wrote:

I am trying to find out how to position an opening window in Internet
Explorer.

While in Netscape/Mozilla/Firefox exist the options screenX and screenY for
the open method of the window object, I couldn't find anything similar in
IE.

window.open('whatever.html', 'windowName',
'top=200,left=200,scrollbars,resizable')
works with IE and with Mozilla/Netscape, as for IE see the documentation
on MSDN:
<http://msdn.microsoft.com/library/d...hop/author/dhtml/reference/methods/open_0.asp>
 
M

McKirahan

Daniele Baroncelli said:
Hi guys,

I am trying to find out how to position an opening window in Internet
Explorer.

While in Netscape/Mozilla/Firefox exist the options screenX and screenY for
the open method of the window object, I couldn't find anything similar in
IE.


Thanks for any help on this.


Cheers

Daniele

<script text="type/javascript">
moveTo(0,0);
resizeTo(400,300);
</script>

-or-

<body onload="moveTo(0,0); resizeTo(400,300);">
 

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,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top