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( someurl.html, shipit,
width=450,height=300,titlebar=no,addressbar=0,resizable=yes,scrollbars=yes,screenX=
+ nLeft + ,screenY= + nTop + ,left= + nLeft + ,top= + nTop );
if( newWind.opener == null ) {
newWind.opener = window;
}
}
At 03:46 PM 9/11/2001 -0400, Don wrote:
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]