View Single Post
Old 05-20-2004   #2 (permalink)
Man1c M0g
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,105
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Ahhhhh, I had similar problems with my design for http://www.right-turn-productions.com. In the end I solved it by having an invisible loader page which then analyzed the size of the browser window, and passed a mySQL variable to the main design, which then selected formatting appropriately. I've posted the resolution-setting javascripting below for your viewing pleasure.

Code:
<script language="Javascript"><!--

if (screen.width <= 800) {
document.location = "interface.php?res=low";
}

if (screen.width > 800) {
document.location = "interface.php?res=high";
}

//-->
</script>
__________________
Man1c M0g is offline