RE: [PHP-DB] Resolution detect and redirect

From: Date: Tue, 27 Feb 2001 21:36:26 +0000
Subject: RE: [PHP-DB] Resolution detect and redirect
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-6994@lists.php.net to get a copy of this message
> -----Original Message----- > From: Darryl Friesen [mailto:Darryl.Friesen@usask.ca] > Sent: Tuesday, February 27, 2001 12:57 PM > To: db > Subject: Re: [PHP-DB] Resolution detect and redirect > > > >>>Why not just create a table that will resize to any resolution? > >> > >> Because I am using different sized images for the different resolutions > as > >> well as other page thingys..... > >> > >> And I need the script for other things too. > >> > >> So can anyone help? > > Is there anyway to convince you this is a very very bad idea? Leave the > choice up to the user. > > Why? Sure, my screen resolution is 1024x768, but I never run the browser > full screen (I'd bet 99% of people don't), so forcing me to view > a page that > only looks good at 1024x768 when my window size is closer to 800x600 just > annoys me (I've seen a few sites like that; left immediatly even > though they > were good sites). > > If I have the choice, I'll pick the one I think is closest to my current > window size. I've seen several sites that do this. Much better. > Although it's not available in PHP, you can use JavaScript to determine the actual usable size of the browser window, which would eliminate the issue mentioned above. > Another reason not to do this is all the extra work in maintaining all the > different versions of pages/images etc. Better to spend the time writing > PHP code. :) > > > - Darryl > > ---------------------------------------------------------------------- > Darryl Friesen, B.Sc., Programmer/Analyst Darryl.Friesen@usask.ca > Education & Research Technology Services, > http://gollum.usask.ca/ > Department of Computing Services, > University of Saskatchewan > ---------------------------------------------------------------------- > "Go not to the Elves for counsel, for they will say both no and yes" > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#6994) next »