AW: [PHP] monitor resolution
| From: | Moritz Petersen | Date: | Wed, 03 Jan 2001 14:27:26 +0000 |
| Subject: | AW: [PHP] monitor resolution | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32495@lists.php.net to get a copy of this message | ||
I guess the only solution is to use JavaScript (1.2):
<script language="JavaScript">
<!--
window.location = "index.php?height=" + screen.height;
// -->
</script>
Now you can evaluate $height in index.php.
Mo.
> -----Ursprüngliche Nachricht-----
> Von: kmurrah [mailto:kmurrah@bakergrfx.com]
> Gesendet: Mittwoch, 3. Januar 2001 15:09
> An: php-general@lists.php.net
> Betreff: [PHP] monitor resolution
>
>
> I'm afraid that the answer is "NO" but I'm going to ask it anyway ...
>
> Is it possible to determine the resolution of the monitor on
> which pages are
> displayed? I want to be able to make certain dynamic changes in layout
> based on monitor size and/or resolution.
>
> Thanks in advance,
>
> Kenn
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>