I don't remember the exact code for this but you can tell where the
pop-up window where to be placed by the "top" and "left" attributes.  As
for centering exactly, you will need to perform some math.  For instance
to determine the "left" attribute. There is a JavaScript variable for
the window resolutions width of the screen (800).  I suppose you would
need to divide the width by 1/2 (400), minus 1/2 of the popup windows
(100), and that will give you a "left" attribute of 300. 

Sincerely, 
Ricardo Sanoja 
Senior Web Architect 
Version 4 Technologies, LLC. 
4288 Kellway Circle 
Addison, TX 75001-4200 

972.267.1558 Ext 19
[EMAIL PROTECTED] 



-----Original Message-----
From: phumes1 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 12:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Popup window




Is there a way to have my popup window center on the screen?



+-----------------------------------------------------------------------
------------+ 

Philip Humeniuk
[EMAIL PROTECTED]
[EMAIL PROTECTED]
+-----------------------------------------------------------------------
-------------+



------------------------------------------------------------------------
-
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info:
www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to