Re: Resolution detect and redirect

From: Date: Wed, 28 Feb 2001 15:29:36 +0000
Subject: Re: Resolution detect and redirect
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-7021@lists.php.net to get a copy of this message
The PHP function "get_browser()" extract many of the client browser characteristics but not the screen resolution ! PHP experts tells not to use JavaScript so you have two choices: 1st. Do not make a good adaptive design, with horizontal scroll bars or tile background images, and tell the user this page was made thinking he or she must use the resolution you choose at design time or; 2nd. Take the risk of use JavaScript "window.screen.width" and "window.location" properties to evaluate and redirect the user to the well graphic designed pages. HTH Jayme. -----Mensagem Original----- De: Matthew Cothier <matthewcothier@hotmail.com> Para: <php-db@lists.php.net> Enviada em: terça-feira, 27 de fevereiro de 2001 12:42 Assunto: [PHP-DB] Resolution detect and redirect > I am lookign for a piece of code that will detect the resolution of the user > and return a page dependant on that i.e - The table will be adjusted to suit > that. > > Is there a script where I can detect what the resolution is, and also > redirect to a page depending on what resolution they are using? > > Thanks in advance for any help! > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#7021) next »