RE: [PHP] Detect screen size

From: Date: Wed, 16 May 2001 11:51:27 +0000
Subject: RE: [PHP] Detect screen size
Groups: php.general 
Request: Send a blank email to php-general+get-53014@lists.php.net to get a copy of this message
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 rudolf@qedi.co.za -----Original Message----- From: Mark Lo (3) [mailto:mark@3dsources.com] 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#53014) next »