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]

Reply via email to