Re: RE: [PHP-DB] Resolution detect and redirect
| From: | Tom Mathews | Date: | Wed, 28 Feb 2001 10:15:48 +0000 |
| Subject: | Re: RE: [PHP-DB] Resolution detect and redirect | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5749@lists.php.net to get a copy of this message | ||
I seem to have missed the question on this one, but my guess from the answer
is that you are trying to open a different page based on the screen
resolution, presumably so that you can resize the graphics and text
accordingly.
This method will take a lot of extra development time - you have to write
three pages for every one that you wish to display - a far neater solution
is to use relative sizes in stylesheets to define your text and image size -
I think that there's a good example on WebMonkey - if not I'll double check
where I saw a really neat one.
Tom
Ben Cairns wrote:
> <SCRIPT>
> if (screen.width==640) { Your Redirect Here}
> if (screen.width==800) { Your Redirect Here }
> if (screen.width==1024) { Your Redirect Here }
> </SCRIPT>
>
> Hope this is what you need
>
> -- Ben Cairns - Head Of Technical Operations
> intasept.COM
> Tel: 01332 365333
> Fax: 01332 346010
> E-Mail: BenC@intasept.com
> Web: http://www.intasept.com
>
> "MAKING sense of
> the INFORMATION
> TECHNOLOGY age
> @ WORK......"
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net