Reply to Re: detecting monitor resolutions

Your name:

Reply:


Posted by David Dorward on 12/18/06 13:46

Carolyn Marenger wrote:
> Last time I checked there was no way of determining viewport sizes. Has
> there been any change?

Here's a post from 1997 that describes how to find that out:
http://groups.google.com/group/comp.lang.javascript/msg/f1c8d5b54fe95524

> I like using three column layouts, but that breaks down when using narrow
> viewports. I would like to have a page that uses a three column layout for
> anyone with a specific minimum width viewport, and have the layour (via
> CSS) downgrade to a two or one column layout for those with narrow
> viewports.

If you go down that route, then I suggest you pick one layout as a
default, and have a <link> document.written that overrides it under the
circumstances you define. (I wouldn't leave non-JS users with no style
at all).

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация