PDA

View Full Version : Pop-up window positioning


Fraki
10-4-03, 03:29 PM
<A HREF="index.shtml" onClick="window.open('varsity/index.shtml','varsity',config='height=450,width=77 5,scrollbars=no,resizable=no,toolbars=no')">
<IMG SRC="static/varsityoff.jpg" BORDER=0 alt="Varsity"></a>

I'm using that code to open a new window onClick. I know I can position the window on the screen, but is there a way that I can have it so it opens in the center of the user's screen regardless of their resolution setting?

Fraki
10-4-03, 03:52 PM
OK I cheated and found this http://www.dynamicdrive.com/dynamicindex8/popwin.htm