Hi Kyle,
I use the following:
<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">
<input type="submit" value="Login" name="Login"
onClick="PassScreenWidth(GetScreenSize())">
</form>
Cheers
Rudolf
-----Original Message-----
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: 24 July 2001 01:45
To: [EMAIL PROTECTED]
Subject: [PHP] Resolution
is there a code to show a users screen resolution and/or make a webpage go
to a certain page of the site depending on the users screen resolution?
-legokiller666-
http://www.StupeedStudios.f2s.com
New address.... new site
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
--
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]