Can anyone here give me a javascript to detect the res of one's computer? My home page site is specifically designed for 800x600, and looks like crap on a bigger resolution. So I'd like to detect their settings, and give them an alert.
I think it's SOMETHING like this..
i'm not entirely sure though, i'm a little rusty on javascript too, any help would be appreciative
Thanks
-jamslam
I think it's SOMETHING like this..
Code:
if (width > 800 && height > 600) { alert("Blah blah"); }
Thanks
-jamslam
Comment