jdadwilson Posted May 25, 2007 Share Posted May 25, 2007 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 More sharing options...
AndyB Posted May 25, 2007 Share Posted May 25, 2007 First let me say -- I KNOW NOTHING ABOUT JAVA!!! Lesson 1: Java is not javascript. Lesson 2: http://www.javascriptsearch.com/scripts/Windows/window_position.html Link to comment https://forums.phpfreaks.com/topic/52918-location-of-popup-window/#findComment-261824 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.