Team:Arizona State/Template:Header

From 2012.igem.org

(Difference between revisions)
(Blanked the page)
Line 1: Line 1:
 +
<html>
 +
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
 +
  <script type="text/javascript">
 +
  $(document).ready(function(){
 +
    $(function(){
 +
    var path = location.pathname.substring(1);
 +
    var last = path.split("/");
 +
    if ( last[1] ) {
 +
      $('#headover ul li a[href*="' + last[1] + '"]').addClass("curlink").css("color","#ffffff");
 +
    }
 +
    else {
 +
      $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#ffffff");
 +
    }
 +
    });
 +
 +
    $('#menuback').mouseover(function() {
 +
    $('#headover').stop().animate({height:'150px',top:'0px'},1000);
 +
    });
 +
 +
    $('#menu').mouseleave(function() {
 +
    $('.listhead').not('.curlink').css("color","#ffffff");
 +
    $('.listmain').not('.curlink').css("color","#ffffff");
 +
    $('#headover ul').fadeOut(500);
 +
    $('#headover').stop().animate({height:'50px',top:'100px'},1000);
 +
    });
 +
 +
    $('.listhead').mouseover(function(){
 +
    $('.listhead').not('.curlink').css("color","#ffffff");
 +
    $(this).css("color","#444444");
 +
    $('#headover ul').css("display","none");
 +
    var vActive = $(this).attr("id");
 +
    $('.'+vActive).stop(true, true).fadeIn(500);
 +
    });
 +
 +
    $('.listmain').mouseover(function(){
 +
    $('.listmain').not('.curlink').css("color","#ffffff");
 +
// inner text hover color
 +
    $(this).css("color","#1296B0");
 +
    });
 +
 +
    $('#headover').mouseleave(function(){
 +
    $('.listmain').not('.curlink').css("color","#ffffff");
 +
    });
 +
 +
  });
 +
  </script>
 +
 +
<style type="text/css">
 +
  .firstHeading {
 +
    display: none;}
 +
 +
  body {
 +
      background-color: #000000;}
 +
  #content {
 +
      width: 900px;}
 +
 +
  #top-section {
 +
display: none;}
 +
 +
  #search-controls {
 +
      display: none;}
 +
  #mblink a {
 +
    text-decoration:none;}
 +
 +
/* absolute positioning of everythingness */
 +
  #menu {
 +
    width:900px;
 +
    height:150px;
 +
    position: relative;
 +
    top: 20px;
 +
    left: 0px;}
 +
/*left bar color and things */
 +
  #menuback {
 +
    width:100px;
 +
    height:150px;
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 0px;
 +
    background-color: #1296B0}
 +
/* right side background */
 +
  #headpic {
 +
    background-color: black;
 +
    width:800px;
 +
    height:150px;
 +
    position: absolute;
 +
    background-repeat:no-repeat;
 +
    top: 0px;
 +
    left: 100px;
 +
    background-image: url('http://a4.ec-images.myspacecdn.com/images02/152/7e16c602354740d78a012c9766c1cadd/l.jpg'); }
 +
 +
/* positioning of bottom informationy bar thingy */
 +
  #headover {
 +
    width: 800px;
 +
    height:50px;
 +
    position: absolute;
 +
    top: 100px;
 +
    left: 0px;
 +
    background: url(http://2010.igem.org/wiki/images/d/d8/Imperialigemheadoverone.png) 0px 0px no-repeat; }
 +
 +
  a {
 +
    outline:none;}
 +
/* relative positioning of bottom informationy bar thingy */
 +
  #headboob{
 +
    font-family: helvetica, arial, sans-serif;
 +
    font-size: 1.2em;
 +
    color: #ffffff;
 +
    position: absolute;
 +
    top: 0.5em;
 +
    right: 1.4em;}
 +
 +
  .dark{
 +
    color: #ffffff;}
 +
 +
  .highlight{
 +
    color: #1296B0;}
 +
 +
  #menulist{
 +
    position: absolute;
 +
    top: 16px;
 +
    left: 3px;
 +
    list-style: none;}
 +
 +
  #menulist li{
 +
    height: 30px;
 +
    }
 +
 +
/* outer links */
 +
  #menulist li a{
 +
    font-weight: 100;
 +
    font-size: 1.2em;
 +
    text-decoration: none;
 +
    font-family: helvetica;
 +
    color: #ffffff;}
 +
 +
/* bullet points for inner links */
 +
  #headover ul{
 +
    list-style: none;
 +
    display: none;
 +
    position: absolute;
 +
    top: 1.2em;
 +
    left: 0.2em;
 +
    }
 +
 +
/* relative positioning of inner links */
 +
  #headover ul ul{
 +
    position: absolute;
 +
    width:10em;
 +
    top:-0.2em;
 +
    left: 10em;
 +
    list-style:none;}
 +
 +
/* font of inner links */
 +
  #headover ul li{
 +
    height: 2.4em;
 +
    }
 +
/* font of inner links */
 +
  #headover ul li a{
 +
    font-weight: 100;
 +
    font-size: 1.2em;
 +
    text-decoration: none;
 +
    font-family: helvetica, arial, sans-serif;
 +
    color: #dddddd;}
 +
 +
</style>
 +
 +
 +
<body>
 +
  <div id='menu'>
 +
  <div id='menuback'>
 +
    <ul id='menulist'>
 +
    <li><a href='#' class='listhead' id='project'>Toast</a></li>
 +
    <li><a href='#' class='listhead' id='plan'>Toast</a></li>
 +
    <li><a href='#' class='listhead' id='results'>Toast</a></li>
 +
    <li><a href='#' class='listhead' id='extra'>Toast</a></li>
 +
    </ul>
 +
  </div>
 +
  <div id='headpic'>
 +
    <div id='headover'>
 +
    <p id='headboob'>toast<span class='dark'> &nbsp;<span class='highlight'>|</span>&nbsp;&nbsp;toast detection with a rapid response</span></p>
 +
    <ul class='project'>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Tour/Page_One' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Modules' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Chassis' class='listmain' id='results'>Toast</a></li> 
 +
      <ul class='project'>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast_Practices' class='listmain' id='results'>Toast Practices</a></li>   
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast</a></li>     
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast/Toast_One' class='listmain' id='project'>Toast</a></li>
 +
      </ul>
 +
    </ul>
 +
    <ul class='plan'>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Strategy' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://Toast.igem.org/Team:Toast_College_London/Lab_Diaries' class='listmain' id='Toast'>Toast Diaries</a></li>
 +
      <ul class='plan'>
 +
        <li><a href='http://2010.igem.org/Team:Toast_College_London/Protocol' class='listmain' id='results'>Toast Protocols</a></li>
 +
        <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast</a></li>
 +
      </ul>
 +
      <ul class='plan'>
 +
      </ul>
 +
    </ul>
 +
    <ul class='results'>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast Results</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast/Toast' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast</a></li>
 +
 +
    </ul>
 +
    <ul class='extra'>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/The_Team' class='listmain' id='Toast'>The Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast/Toast' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast_Workshops' class='listmain' id='results'>Toast Workshops</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast_Tool' class='listmain' id='results'>Toast Tool</a></li>
 +
      <ul class='extra'>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast</a></li>
 +
      <li><a href='http://2010.igem.org/Team:Toast_College_London/Toast' class='listmain' id='results'>Toast</a></li>
 +
      </ul>
 +
    </ul>
 +
    </div>
 +
  </div>
 +
  </div>
 +
</body>
 +
 +
</html>

Revision as of 18:46, 25 June 2012