Ross Hulford wrote:
> I am looking for a simple script that uses javascript to determine
> the the screen resolution and swap in etiher a high res or a low res
> stylesheet.

I think you should forget screen resolution and/or screen width, and
"change CSS layout according to browser width instead"...

<http://www.themaninblue.com/writing/perspective/2006/01/19/>

...or else something may appear a bit strange on my 3840px by 1024px
screens using an 800px wide browser.

CSS has its own 'mediaqueries' in addition to 'min/max-width', but since
browser-support is still a bit weak I guess script-solutions may still
be acceptable in some cases.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to