Jump to content

Location of popup window


jdadwilson

Recommended Posts

First let me say -- I KNOW NOTHING ABOUT JAVA!!!

 

But, I have the following script that will open a popup window with a provided url. I would like to add the ability to have the window popup in the center of the screen rather than in the upper left corner.

 

function eventWindow(url)

{

event_popupWin = window.open(url, 'event', 'resizable=yes, scrollbars=yes, toolbar=no, width=490, height=400');

event_popupWin.opener = self;

}

 

TIA for any assistance.

Link to comment
https://forums.phpfreaks.com/topic/52918-location-of-popup-window/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.