S Dawkins
|
Not sure if I can explain this right, but does anyone know code to add to the header of a template to have the browser check the persons resolution and then use a certain style sheet.
I was proud of myself I made a pretty nice theme but realized it doesn't load right unless resolution is over 1200.
This is the url www.traac.net, if your screen is under 1200 (such as 1024x600) this is what it SHOULD look like http://www.traac.net/screenshot.jpg
|
|
Marc Smith
|
Good tutorial on javascript for setting screen resolution.
Unfortunately, you may have trouble getting it to work with Wordpress.
http://www.pageresource.com/jscript/jscreen.htm
|
|
S Dawkins
|
Thanks Marc,
I knew I had seen something about it in the past but couldn't remember how to search for it.
Will give it a whirl and hope it will work for WP.
|
|
Lance
|
The author here has some scripts for calling different CSS files based on screen resolution:
http://particletree.com/features/dynamic-resolution-dependent-layouts/
|
|