Jump to content

Archived

This topic is now archived and is closed to further replies.

haydndup

Screen Dimensions

Recommended Posts

Is there a way to get JS to return the dimensions that a user's pc screen is set to? eg ->

width = 800
height = 600

or

width = 1024
height = 768

etc.etc

there are certain sections of my site that simply using % won't help... i need to calculate exact sizes

tia

Share this post


Link to post
Share on other sites
Yes ... google ... [a href=\"http://www.google.com/search?q=javascript+window+size&hl=en&lr=&c2coff=1&rls=GGLD,GGLD:2004-28,GGLD:en&start=10&sa=N\" target=\"_blank\"]http://www.google.com/search?q=javascript+...n&start=10&sa=N[/a]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.