Re: [PHP] Window/Page/Browser/Screen width
Hi Rick Check out list archives for last week (and the week before...) keyword: resolution. Also check out HTML, which will cheerfully slap text and graphics together an adapt to local peculiarities. Regards, =dn I've seen similar questions in archives so sorry if I'm asking the same thing again! Is it possible, using php, to get the screen, page, or window width? My aim would be to have a set of picture thumbnails, and give the html the best number of columns depending on the size of the display. I'd rather not use java, because many people have it turned off (even though I wouldn't be exploiting it!) Cheers, --Rick __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Window/Page/Browser/Screen width
Hi Rick, The important thing to remember is that PHP (as any other similar language) is a server-side scripting language. It won't help you getting your client details apart of those sent in HTTP headers. You should rather consider looking into JavaScript capabilities to accomplish your task. HTH, Stas - Original Message - From: Rick Selby [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 12:02 PM Subject: [PHP] Window/Page/Browser/Screen width Hi, I've seen similar questions in archives so sorry if I'm asking the same thing again! Is it possible, using php, to get the screen, page, or window width? My aim would be to have a set of picture thumbnails, and give the html the best number of columns depending on the size of the display. I'd rather not use java, because many people have it turned off (even though I wouldn't be exploiting it!) Cheers, --Rick __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Window/Page/Browser/Screen width
Woah, sorry, somehow I missed that thread. Cheers. --- DL Neil [EMAIL PROTECTED] wrote: Hi Rick Check out list archives for last week (and the week before...) keyword: resolution. Also check out HTML, which will cheerfully slap text and graphics together an adapt to local peculiarities. Regards, =dn I've seen similar questions in archives so sorry if I'm asking the same thing again! Is it possible, using php, to get the screen, page, or window width? My aim would be to have a set of picture thumbnails, and give the html the best number of columns depending on the size of the display. I'd rather not use java, because many people have it turned off (even though I wouldn't be exploiting it!) Cheers, --Rick __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Window/Page/Browser/Screen width
On Wednesday 28 August 2002 19:02, Rick Selby wrote: I've seen similar questions in archives so sorry if I'm asking the same thing again! What were the answers in the archive? -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* We are drowning in information but starved for knowledge. -- John Naisbitt, Megatrends */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php