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 <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Database 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