Quote:
Originally Posted by Borgs8472
I didn't think web browsers could detect screen resolutions, someone correct me if I'm wrong.
You could always have screen resolution as a profile option and place the appropriate conditionals around the style related statements in your code.
|
Yes, but unfortunately a lot users don?t care about their profile. Also, guests don?t have a profile.
I just did a quick search and found the following examples in Javascript
:
http://www.javascriptkit.com/script/cut52.shtml
http://www.cyscape.com/developer/wor...een.asp?bhcp=1
http://www.pageresource.com/jscript/jscreen.htm
The 2nd link is especially interesting because it detects the user?s size of his browser window.