View Full Version : Popup Alignment


Elentari
05-30-2003, 11:14 AM
I've asked this before but gotten no answer and my searches have come up with nothing so far... So here goes....

When you make a popup window, is there any way for it to open right in the middle of the page?

This is my code so far...right now I have it just at the top left hand corner of the page but I'd like for it to always open in the center of a persons browsers.


<a Href="http://help.orangelush.com"

onClick="window.open('http://help.orangelush.com','1932','width=700,height=500, directories=no,location=no,menubar=

no,scrollbars=no, status=no,toolbar=no,resizable=no,left=0,top=0, screenx=50,screeny=50');return false"

OnMouseOut="isimgact( 'image6',0)" OnMouseOver="isimgact( 'image6',1)" ><Img Src="images/help.png"

Name="image6" USEMAP="#image6"></a>

MaGiCSuN
05-30-2003, 12:34 PM
Is this what you where looking for?:

http://www.htmlhelpcentral.com/js_popup_centered.html

Love,
Mirna