The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[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. |
#2
|
|||
|
|||
Thread moved to the correct forum. Please post all requests in this forum.
|
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
This would be a very good feature indeed!!
|
#5
|
|||
|
|||
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. |
#6
|
||||
|
||||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|