![]() |
[REQUEST] style based on screen res.
Hello.
Has anybody found a method to enforce a certain style based on the visitor´s screen resolution? That would be really nice to have. I´ll have a look on this in a few weeks, but for now i´m too occupied with publicity. |
Thread moved to the correct forum. Please post all requests in this forum. :)
|
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. |
This would be a very good feature indeed!!
|
Quote:
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. |
I wrote a JS script a while back to Optimize the style for members on my site. http://www.artorg.co.uk - demo hit the optimize style button :)
it gives a diff bg image for users over 1024x768 :) |
All times are GMT. The time now is 02:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|