http://www.dhtmlshock.com/window-scripts/opencenterpopup/default.asp

Chuck

-----Original Message-----
From: Dave Carabetta [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 14, 2001 4:22 PM
To: CF-Talk
Subject: OT: Centering a JS popup


Anybody have a cross-browser compatible way of centering a popup window in 
the middle of the screen? I have a little calendar widget that I built in 
CF, but it pops up wherever it feels like! I'm not necessarily looking for 
something that accounts for taskbars and stuff, just something that will 
ensure that the popup window is at least *near* the center of the user's 
screen as opposed to the random placement it gives now.

Thanks,
Dave.

_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to