[PHP] How do I get the resolution of my screen?

2001-09-11 Thread Don
Hi, I have a link that opens a small window. I'd like to center it in the screen regardless of the resolution in use. Does PHP have a way of returning the width/height of the current screen in pixels? Thanks, Don

Re: [PHP] How do I get the resolution of my screen?

2001-09-11 Thread MailingLists
nope, it don't... but you could easily do this in JavaScript: function OpenCenter() { // we're going to center the popup screen nLeft = ( screen.width - 350 ) / 2 ; nTop = ( screen.height - 300 ) / 2; // open the window var newWind = window.open(