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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.