Template:Team:Glasgow/Header

From 2011.igem.org

(Difference between revisions)
(Created page with "<html> <head> <style type="text/css"> #top-section { background-color: #ffffff; border: none; height:20px;} #p-logo { position: absolute; display: none;...")
Line 1: Line 1:
<html>
<html>
  <head>
  <head>
 +
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 +
  <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","#153e7e");
 +
    }
 +
    else {
 +
      $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#153e7e");
 +
    }
 +
    });
 +
 +
    $('#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","#dddddd");
 +
    $('#headover ul').fadeOut(500);
 +
    $('#headover').stop().animate({height:'0px',top:'0px'},1000);
 +
    });
 +
 +
    $('.listhead').mouseover(function(){
 +
    $('.listhead').not('.curlink').css("color","#ffffff");
 +
    $(this).css("color","#bbffff");
 +
    $('#headover ul').css("display","none");
 +
    var vActive = $(this).attr("id");
 +
    $('.'+vActive).stop(true, true).fadeIn(500);
 +
    });
 +
 +
    $('.listmain').mouseover(function(){
 +
    $('.listmain').not('.curlink').css("color","#dddddd");
 +
    $(this).css("color","#bbffff");
 +
    });
 +
 +
    $('#headover').mouseleave(function(){
 +
    $('.listmain').not('.curlink').css("color","#dddddd");
 +
    });
 +
 +
  });
 +
  </script>
   <style type="text/css">
   <style type="text/css">
 +
 +
  a:link {color:#20548f;}
 +
  a:visited {color:#20548f;}
 +
  a:hover {color:#20548f;}
 +
  a:active {color:#20548f;}
   #top-section {
   #top-section {
-
   background-color: #ffffff;
+
   background-color: #052e5e;
 +
  height: 100px;
   border: none;
   border: none;
-
   height:20px;}
+
  width:910px;
 +
   height:20px}
   #p-logo {
   #p-logo {
Line 24: Line 77:
   top:0px;
   top:0px;
   right:0px;}
   right:0px;}
 +
   #menubar a:active,#menubar a:hover,#menubar a:link,#menubar a:visited {
   #menubar a:active,#menubar a:hover,#menubar a:link,#menubar a:visited {
-
   color: #000000;}
+
   color: #ffffff;}
 +
 
 +
  #footer-box {
 +
  width:900px;}
 +
 
 +
  body {
 +
  background-color: #052e5e}
 +
 
 +
  .firstHeading {
 +
    display: none;}
 +
 
 +
  #content {
 +
    width: 900px;
 +
    border: none;
 +
    font-family: calibri, arial, sans-serif;
 +
    color: #000000;
 +
    background-color:#052e5e;}
 +
 
 +
  #title {
 +
    width:900px;
 +
    height:55px;
 +
    position: relative;
 +
    top: 0px;
 +
    left: 0px;}
 +
 
 +
  #discologo {
 +
    width:71px;
 +
    height:50px;
 +
    position: relative;
 +
    top: 0px;
 +
    left: 0px;}
 +
 
 +
 
 +
  #menu {
 +
    width:900px;
 +
    height:200px;
 +
    position: relative;
 +
    top: 20px;
 +
    left: 0px;}
 +
 
 +
  #menuback {
 +
    width:900px;
 +
    height:50px;
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 0px;
 +
    background-color: #153e7e}
 +
 
 +
  #headpic {
 +
    width:900px;
 +
    height:150px;
 +
    position: absolute;
 +
    top: 50px;
 +
    left: 0px;
 +
    background-image: url(); }
 +
 
 +
  #headover {
 +
    width: 900px;
 +
    height:0px;
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 0px;
 +
    background: url('http://www.ukdocumentmanagement.com/images/blue_box_3.jpg') 0px 0px no-repeat; }
 +
 
 +
  a {
 +
    outline:none;}
 +
 
 +
  #headtit{
 +
    font-family: calibri, arial, sans-serif;
 +
    font-size: 1.2em;
 +
    color: #ffffff;
 +
    position: absolute;
 +
    top: 0.5em;
 +
    right: 1.4em;}
 +
 
 +
  .dark{
 +
    color: #dddddd;}
 +
 
 +
  .highlight{
 +
    color: #153e7e;}
 +
 
 +
  #menulist{
 +
    position: absolute;
 +
    top: 16px;
 +
    left: 3px;
 +
    list-style: none;}
 +
 
 +
  #menulist li{
 +
    height: 30px;
 +
    width:150px;
 +
    float:left;
 +
    display:block;
 +
    }
 +
 
 +
  #menulist li a{
 +
    font-weight: 100;
 +
    font-size: 1.2em;
 +
    text-decoration: none;
 +
    font-family: calibri, arial, sans-serif;
 +
    color: #ffffff;}
 +
 
 +
  #headover ul{
 +
    list-style: none;
 +
    display: none;
 +
    position: absolute;
 +
    top: 1.2em;
 +
    left: 0.2em;
 +
    }
 +
 
 +
  #headover ul ul{
 +
    position: absolute;
 +
    width:10em;
 +
    top:-0.2em;
 +
    left: 10em;
 +
    list-style:none;}
 +
 
 +
  #headover ul li{
 +
    height: 2.4em;
 +
    }
 +
 
 +
  #headover ul li a{
 +
    font-weight: 100;
 +
    font-size: 1.2em;
 +
    text-decoration: none;
 +
    font-family: calibri, arial, sans-serif;
 +
    color: #dddddd;}
   </style>
   </style>
  </head>
  </head>
 +
<body>
 +
 +
 +
  <div id='menu'>
 +
  <div id='menuback'>
 +
    <ul id='menulist'>
 +
    <li><a href='#' class='listhead' id='project'>Project</a></li>
 +
    <li><a href='#' class='listhead' id='team'>Team</a></li>
 +
    <li><a href='#' class='listhead' id='results'>Results</a></li>
 +
    <li><a href='#' class='listhead' id='extra'>Extras</a></li>
 +
    </ul>
 +
  </div>
 +
  <div id='headpic'>
 +
    <div id='headover'>
 +
    <p id='headtit'>DISColi - Modifying biofilms with coloured light</p>
 +
 +
    <ul class='project'>
 +
      <li><a href='https://2011.igem.org/Team:Glasgow/iGEM_Diary' class='listmain'>Lab Book</a></li>
 +
      <li><a href='https://2011.igem.org/Team:Glasgow/Project' class='listmain'>Protocols</a></li>
 +
      <li><a href='https://2011.igem.org/Team:Glasgow/Safety' class='listmain'>Safety</a></li>
 +
      <li><a href='https://2011.igem.org/Team:Glasgow/Parts' class='listmain'>Parts</a></li>
 +
    </ul>
 +
 +
    <ul class='team'>
 +
    <ul class='team'>
 +
      <li><a href='https://2011.igem.org/Team:Glasgow/Team' class='listmain'>Meet the Team</a></li>
 +
      <li><a href='https://2011.igem.org/Team:Glasgow/iGEM_Diary' class='listmain'>Team Diary</a></li>
 +
      <li><a href='https://2011.igem.org/Team:Glasgow/Gallery' class='listmain'>Photo Gallery</a></li>
 +
    </ul>
 +
    </ul>
 +
    </div>   
 +
  </div>
 +
  </div>
 +
</body>
</html>
</html>

Revision as of 22:41, 16 July 2011