Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Popup window position in IE 4 - July 20, 1998 at 07:35:40

You are here: irt.org | BBS | Re: Popup window position in IE 4 [This BBS is closed]

Posted by Martin Webb on July 20, 1998 at 07:35:40:

In Reply to: Popup window position in IE 4 posted by Ed W on July 18, 1998 at 04:13:17:

: You said in an older reply that popup window positioning was available in NN4. Can you do it in IE4, and if so, how??

In NN4 the screenX and screenY attributes were introduced. In MSIE4 the top and left attributes were introduced. By combining the two both
NN4 and MSIE4 will allow you to position the window:

<SCRIPT LANGUAGE="JavaScript">
function openWindow () {
msgWindow = window.open ('','newWin','width=100,height=100,screenX=400,screenY=400,top=400,left=400');
msgWindow.location.href = 'apage.html';
}
</SCRIPT>

<FORM>
<INPUT TYPE="BUTTON" onClick="openWindow ()" VALUE="Click Me">
</FORM>
Follow-ups:

You are here: irt.org | BBS | Re: Popup window position in IE 4 [This BBS is closed]

©2018 Martin Webb