Posted by Carolyn Marenger on 12/18/06 23:11
David Dorward wrote:
>
> 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
Thanks. I will look into that.
>> 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).
Not something I would do. Being that I am one of those non-JS users myself.
Carolyn
--
Carolyn Marenger
[Back to original message]
|