Re: Re: Resalution Dection
| From: | Jeff Sheltren | Date: | Fri, 25 Jan 2002 03:45:04 +0000 |
| Subject: | Re: Re: Resalution Dection | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82052@lists.php.net to get a copy of this message | ||
Yes, you can use javascript to get the user's resolution:
screen.width
screen.colorDepth
are two variables that you can access through javascript, which you might
find helpful.
Jeff
> Try Javascript. I dont recall offhand but there are some properties you
can
> use in Javascript to detect this sort of thing. PHP is all done
server-side
> and can't collect system properties from the user.
>
> Mike Frazer
>
>
>
> "Philip J. Newman" <newmanpj@philipsdomain.com> wrote in message
> news:00b201c1a549$39daf0d0$0401a8c0@philip...
> I'm trying to display an image only if the user has a hi resolution? can
> anyone help?