RE: [PHP-DB] Resolution detect and redirect
| From: | Matt Williams | Date: | Wed, 28 Feb 2001 15:40:56 +0000 |
| Subject: | RE: [PHP-DB] Resolution detect and redirect | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7022@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.
>
Or why not use percentage widths??
M@