RE: [PHP] Detect screen size

2001-05-16 Thread Maxim Maletsky

With javascript of course.

Again, go to look for the codes of these free tracking systems. Like Extreme
tracker. They've got those.

Sincerely, 

 Maxim Maletsky
 Founder, Chief Developer
 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com



-Original Message-
From: Mark Lo (3) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 8:16 PM
To: ListPHP Mailing
Subject: [PHP] Detect screen size


Hi,

I would like to know how to detect the screen size.  I mean the viewing
area.  etc. 800x600, 1028x728...

Thank you

Mark


-- 
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]

-- 
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]




RE: [PHP] Detect screen size

2001-05-16 Thread Rudolf Visagie

Hi,

script language=JavaScript
!-- hide from none JavaScript Browsers
function PassScreenWidth(what) {
document.login_frm.screen_width.value=what
}

function GetScreenSize() {
var screen_width = screen.width;
return screen_width;
}
// - stop hiding --
/script

FORM ACTION=login1.php METHOD=POST  NAME=login_frm
input type=hidden name=screen_width
.
.
/form

Rudolf Visagie
[EMAIL PROTECTED]

-Original Message-
From: Mark Lo (3) [mailto:[EMAIL PROTECTED]]
Sent: 16 May 2001 01:16
To: ListPHP Mailing
Subject: [PHP] Detect screen size


Hi,

I would like to know how to detect the screen size.  I mean the viewing
area.  etc. 800x600, 1028x728...

Thank you

Mark


-- 
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]

-- 
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]