Thread: Mobotics.ca
View Single Post
  #5   Spotlight this post!  
Unread 31-12-2002, 13:27
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Very spiffy looking. My only gripe (other than the intro page) is that clicking on the links opens the new site inside your frames. You can fix this with a target=_top inside the link tags. Or, if you'd prefer to open in a new window, the tag is target=_blank


If you're interested, the necessary JavaScript is:

<script language="JavaScript">
<!--
if ((screen.width>=HIGHRESWIDTH) && (screen.height>=HIGHRESHEIGHT))
{
window.location="my-high-res-page.html";
}
else
{
window.location="my-low-res-page.html";
}
//-->
</SCRIPT>

Just replace my-high/low-res-page.html, and HIGHRESWIDTH/HEIGTH with your values and you should be good to go.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php