<HTML><BODY STYLE="font:10pt verdana; border:none;"><DIV>if you're prob is as far as I can understand to open a pop-up window and control it's position</DIV> <DIV>fo instance you've mentioned center </DIV> <DIV>do this in the script of you're popup.htm</DIV> <DIV>write something in this manner:</DIV> <DIV>&nbsp;</DIV> <DIV>self.moveTo(xWidth, xHeight)</DIV> <DIV><BR>var xWidth= 'calculate client available width, devide it with 2, and substract the window size/2 from the same.</DIV> <DIV>Do the same with the </DIV> <DIV>var xHeight='...'</DIV> <DIV>for instance and you're window will popup always at the absolute center of the available area in the client screen!~</DIV> <DIV>Regards!</DIV> <DIV><BR></DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt Arial">----- Original Message -----</DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt Arial; FONT-COLOR: black"><B>From:</B>&nbsp;Ian Turner</DIV> <DIV style="FONT: 10pt Arial"><B>Sent:</B>&nbsp;Thursday, April 05, 2001 11:02 AM</DIV> <DIV style="FONT: 10pt Arial"><B>To:</B>&nbsp;javascript@LaTech.edu</DIV> <DIV style="FONT: 10pt Arial"><B>Subject:</B>&nbsp;RE: [Javascript] positioning: window.open()</DIV> <DIV><BR></DIV>Why not open the window with a local url, move it and then load up the<BR>external url using window.location.replace();<BR>I know this is a workaround but...<BR><BR><BR>All the best<BR>Ian<BR><BR>-----Original Message-----<BR>From: javascript-admin@LaTech.edu [mailto:javascript-admin@LaTech.edu]On<BR>Behalf Of Tom Churm<BR>Sent: 05 April 2001 09:30<BR>To: javascript@LaTech.edu<BR>Subject: [Javascript] positioning: window.open()<BR><BR><BR>hi,<BR><BR>i usually use this code to open a new "pop-up window":<BR><BR>&lt;script language="JavaScript"&gt;<BR>&lt;!--<BR>function openHelpWindow () {<BR>&nbsp; helpWindow = window.open ("popup.html", "MyWindow",<BR><BR>"menu=no,toolbar=no,location=no,scrollbars=no,width=800,height=600,res<BR><BR>izable=no");<BR>&nbsp; helpWindow.moveTo((screen.width-420)/2, (screen.height-310)/2);<BR>&nbsp; helpWindow.focus();<BR>}<BR>// --&gt;<BR>&lt;/script&gt;<BR><BR>i've found that there are errors when an Absolute URL is used, ie:<BR><BR>when the URL for "popup.html" is something like<BR><BR>"http://someserver.com/popup.html".&nbsp; since i frequently need to center<BR><BR>or position pop-ups, i need to find an alternative.<BR><BR>i saw somewhere coding that uses something like top=100; left=200; to<BR><BR>position a new window, but cannot find any references to this.<BR><BR>any suggestions would be greatly appreciated.<BR><BR>thanks,<BR><BR>tom<BR><BR>_______________________________________________<BR>Javascript mailing list<BR>Javascript@LaTech.edu<BR>http://www.LaTech.edu/mailman/listinfo/javascript<BR><BR><BR>_______________________________________________<BR>Javascript mailing list<BR>Javascript@LaTech.edu<BR>http://www.LaTech.edu/mailman/listinfo/javascript<BR> <DIV></DIV></BLOCKQUOTE></BODY></HTML><DIV><BR><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></DIV>