User:Benjamin Miller

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Current revision (10:42, 23 September 2010) (view source)
 
(13 intermediate revisions not shown.)
Line 2: Line 2:
  <head>
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <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" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
-
    <script type="text/javascript">
+
  <script type="text/javascript">
-
    $(document).ready(function(){
+
  $(document).ready(function(){
-
      $('#lside1').mouseover(function() {
+
-
      $('#lside1').stop().animate({backgroundPosition: '0px 0px'}, 1000);
+
-
      });
+
-
      $('#lside1').mouseleave(function() {
+
-
      $('#lside1').stop().animate({backgroundPosition: '-250px 0px'}, 1000);
+
-
      });
+
-
$('#lside2').mouseover(function() {
+
-
      $('#lside2').stop().animate({backgroundPosition: '0px 0px'}, 1000);
+
-
      });
+
-
      $('#lside2').mouseleave(function() {
+
-
      $('#lside2').stop().animate({backgroundPosition: '-250px 0px'}, 1000);
+
-
      });
+
-
$('#lside3').mouseover(function() {
+
-
      $('#lside3').stop().animate({backgroundPosition: '0px 0px'}, 1000);
+
-
      });
+
-
      $('#lside3').mouseleave(function() {
+
-
      $('#lside3').stop().animate({backgroundPosition: '-250px 0px'}, 1000);
+
-
      });
+
-
$('#menu').mouseover(function() {
+
-
      $('#headover').stop().animate({height:'150px',top:'0px'},200);
+
-
      });
+
-
      $('#menu').mouseleave(function() {
+
-
      $('#headover').stop().animate({height:'50px',top:'100px'},200);
+
-
      });
+
-
    });
+
-
</script>
+
-
  <style type="text/css">
+
-
#title {
+
-
  width:900px;
+
-
  height:50px;
+
-
  position: relative;
+
-
  top: 0px;
+
-
  left: 0px;
+
-
  font-family: helvetica, arial, sans-serif;
+
-
  font-size: 1.5em;
+
-
  color: #666666;}
+
-
.light {
+
-
  color: #aaaaaa;}
+
-
#menu {
+
$(function(){
-
  width:100px;
+
var path = location.pathname.substring(1);
-
  height:150px;
+
if ( path )
-
  position: relative;
+
$('#headover ul li a[href$="http://openwetware.org/wiki/IGEM:Imperial/2010"]').addClass("curlink");
-
  top: 0px;
+
var vCurlink = $('#headover ul li a[href$="http://openwetware.org/wiki/IGEM:Imperial/2010"]').attr("id");
-
  left: 0px;
+
$('#'+vCurlink+'.listhead').addClass('curlink');
-
  background-color: #ea8828}
+
$('.curlink').css("color","#ea8828");
 +
});
-
#headpic {
+
$('#menuback').mouseover(function() {
-
  width:800px;
+
$('#headover').stop().animate({height:'150px',top:'0px'},1000);
-
  height:150px;
+
});
-
  position: absolute;
+
-
  top: 0px;
+
-
  left: 100px;
+
-
  background-image: url('http://openwetware.org/images/5/54/Imperialigemheadone.jpg'); }
+
-
#headover {
+
$('#menu').mouseleave(function() {
-
  width: 800px;
+
$('.listhead,.listmain').not('.curlink').css("color","#dddddd");
-
  height:50px;
+
$('#headover ul').fadeOut(500);
-
  position: absolute;
+
$('#headover').stop().animate({height:'50px',top:'100px'},1000);
-
  top: 100px;
+
});
-
  left: 0px;
+
 
-
  background: url(http://openwetware.org/images/d/d8/Imperialigemheadoverone.png) 0px 0px no-repeat; }
+
$('.listhead').mouseover(function(){
 +
$('.listhead').not('.curlink').css("color","#dddddd");
 +
$(this).css("color","#ea8828");
 +
$('#headover ul').css("display","none");
 +
var vActive = $(this).attr("id");
 +
$('.'+vActive).stop().fadeIn(500);
 +
});
 +
 
 +
$('.listmain').mouseover(function(){
 +
$('.listmain').not('.curlink').css("color","#dddddd");
 +
$(this).css("color","#ea8828");
 +
});
 +
 
 +
  });
 +
  </script>
 +
  <style type="text/css">
-
   #side1 {
+
   #title {
-
     width: 250px;
+
     width:900px;
-
     height: 100px;
+
     height:50px;
     position: relative;
     position: relative;
-
     top: 50px;
+
     top: 0px;
-
     left: 650px;}
+
     left: 0px;}
-
   #lside1 {
+
   #implogo {
-
     width: 250px;
+
     width:190px;
-
     height: 100px;
+
     height:50px;
-
    background: url(http://openwetware.org/images/d/df/Imperialigemsideone.jpg) -250px 0px no-repeat;
+
     position: absolute;
     position: absolute;
     top: 0px;
     top: 0px;
 +
    left: 20px;
 +
    background-image:url(http://openwetware.org/images/c/c9/Imperialigemimplogo.jpg);}
 +
 +
  #igemlogo {
 +
    width:84px;
 +
    height:50px;
 +
    position:absolute;
 +
    top:0px;
 +
    left:260px;
 +
    background-image:url(http://openwetware.org/images/9/9c/Imperialigemigemlogo.jpg);}
 +
 +
  #csynbilogo {
 +
    width:205px;
 +
    height:50px;
 +
    position:absolute;
 +
    top:0px;
 +
    left:394px;
 +
    background-image:url(http://openwetware.org/images/a/ac/Imperialigemcsynbilogo.jpg);}
 +
 +
  #menu {
 +
    width:900px;
 +
    height:150px;
 +
    position: relative;
 +
    top: 20px;
     left: 0px;}
     left: 0px;}
-
   #side2 {
+
   #menuback {
-
     width: 250px;
+
     width:100px;
-
     height: 100px;
+
     height:150px;
     position: absolute;
     position: absolute;
-
     top: 150px;
+
     top: 0px;
-
     left: 0px;}
+
     left: 0px;
 +
    background-color: #495046}
-
   #lside2 {
+
   #headpic {
-
     width: 250px;
+
     width:800px;
-
     height: 100px;
+
     height:150px;
-
    background: url(http://openwetware.org/images/6/66/Imperialigemsidetwo.jpg) -250px 0px no-repeat;
+
     position: absolute;
     position: absolute;
     top: 0px;
     top: 0px;
-
     left: 0px;}
+
     left: 100px;
 +
    background-image: url('http://openwetware.org/images/5/54/Imperialigemheadone.jpg'); }
-
   #side3 {
+
   #headover {
-
     width: 250px;
+
     width: 800px;
-
     height: 100px;
+
     height:50px;
     position: absolute;
     position: absolute;
-
     top: 150px;
+
     top: 100px;
-
     left: 0px;}
+
     left: 0px;
 +
    background: url(http://openwetware.org/images/d/d8/Imperialigemheadoverone.png) 0px 0px no-repeat; }
-
   #lside3 {
+
   a {
-
     width: 250px;
+
     outline:none;}
-
     height: 100px;
+
 
-
     background: url(http://openwetware.org/images/e/ea/Imperialigemsidethree.jpg) -250px 0px no-repeat;
+
  #headtit{
 +
     font-family: helvetica, arial, sans-serif;
 +
     font-size: 1.2em;
 +
    color: #ffffff;
     position: absolute;
     position: absolute;
-
     top: 0px;
+
     top: 0.5em;
-
     left: 0px;}
+
    right: 1.4em;}
 +
 
 +
  .dark{
 +
    color: #dddddd;}
 +
 
 +
  .highlight{
 +
    color: #ea8828;}
 +
 
 +
  #menulist{
 +
    position: absolute;
 +
    top: 16px;
 +
     left: 3px;
 +
    list-style: none;}
 +
 
 +
  #menulist li{
 +
    height: 30px;
 +
    }
 +
 
 +
  #menulist li a{
 +
    font-weight: 100;
 +
    font-size: 1.2em;
 +
    text-decoration: none;
 +
    font-family: helvetica, arial, sans-serif;
 +
    color: #dddddd;}
 +
 
 +
  #headover ul{
 +
    list-style: none;
 +
    display: none;
 +
    position: absolute;
 +
    top: 1.2em;
 +
    left: 0.2em;
 +
    }
 +
 
 +
  #headover ul ul{
 +
    position: absolute;
 +
    top:-0.2em;
 +
    left: 15em;}
 +
 
 +
  #headover ul li{
 +
    height: 2.4em;
 +
    }
 +
 
 +
  #headover ul li a{
 +
    font-weight: 100;
 +
    font-size: 1.2em;
 +
    text-decoration: none;
 +
    font-family: helvetica, arial, sans-serif;
 +
    color: #dddddd;}
 +
 
   </style>
   </style>
  </head>
  </head>
  <body>
  <body>
   <div id='title'>
   <div id='title'>
-
   <p>Imperial College <span class='light'>London</span>    iGEM <span class='light'>2010</span>    C<span class='light'>Syn</span>BI</p>
+
   <div id='implogo'>
 +
  </div>
 +
   <div id='igemlogo'>
 +
  </div>
 +
   <div id='csynbilogo'>
 +
  </div>
   </div>
   </div>
   <div id='menu'>
   <div id='menu'>
-
   <ul>
+
   <div id='menuback'>
-
     <li><a href='#'>Home</a></li>
+
     <ul id='menulist'>
-
    <li><a href='#'>Home</a></li>
+
    <li><a href='#' class='listhead' id='project'>Project</a></li>
-
    <li><a href='#'>Home</a></li>
+
    <li><a href='#' class='listhead' id='plan'>Plan</a></li>
-
    <li><a href='#'>Home</a></li>
+
    <li><a href='#' class='listhead' id='results'>Results</a></li>
-
    <li><a href='#'>Home</a></li>
+
    <li><a href='#' class='listhead' id='extra'>Extra</a></li>
-
  </ul>
+
    </ul>
 +
  </div>
   <div id='headpic'>
   <div id='headpic'>
     <div id='headover'>
     <div id='headover'>
-
     <h1>test</h1>
+
     <p id='headtit'>Parasight<span class='dark'> &nbsp;<span class='highlight'>|</span>&nbsp;&nbsp;Parasite detection with a rapid response</span></p>
-
     <ul>
+
     <ul class='project'>
-
       <li><a href='#'>Home</a></li>
+
       <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010' class='listmain' id='project'>Overview</a></li>
-
       <li><a href='#'>Home</a></li>
+
       <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Detection_module' class='listmain' id='project'>Detection Module</a></li>
-
       <li><a href='#'>Home</a></li>
+
       <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Fast_Response_module' class='listmain' id='project'>Fast Response Module</a></li>
-
       <li><a href='#'>Home</a></li>
+
       <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Output_module' class='listmain' id='project'>Output Module</a></li>
-
       <li><a href='#'>Home</a></li>
+
      <ul class='project'>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Ethics' class='listmain' id='project'>Ethics</a></li>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Parts' class='listmain' id='project'>Parts</a></li>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Papers' class='listmain' id='project'>Papers</a></li>
 +
      </ul>
 +
    </ul>
 +
    <ul class='plan'>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Strategy' class='listmain' id='plan'>Strategy</a></li>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Parts/Synthesis' class='listmain' id='plan'>Synthesis</a></li>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Lab_Work' class='listmain' id='plan'>Lab Work</a></li>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Protocol' class='listmain' id='plan'>Protocol</a></li>
 +
      <ul class='plan'>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Modelling' class='listmain' id='plan'>Modelling</a></li>
 +
      </ul>
 +
    </ul>
 +
    <ul class='results'>
 +
       <li><a href='#' class='listmain' id='results'>Under Construction</a></li>
 +
    </ul>
 +
    <ul class='extra'>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Projects' class='listmain' id='extra'>Brainstorming</a></li>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Journal_Club' class='listmain' id='extra'>Journal Club</a></li>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Movie_Night' class='listmain' id='extra'>Movie Night</a></li>
 +
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Judging_Criteria' class='listmain' id='extra'>Judging Criteria</a></li>
     </ul>  
     </ul>  
-
    </div>
 
-
  </div>
 
-
  </div>
 
-
  <div id='side1'>
 
-
  <a href='#' id='lside1'></a>
 
-
  <div id='side2'>
 
-
    <a href='#' id='lside2'></a>
 
-
    <div id='side3'>
 
-
    <a href='#' id='lside3'></a>
 
     </div>
     </div>
   </div>
   </div>
   </div>
   </div>
  </body>
  </body>
-
</html>
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
<html>
 
</html>
</html>

Current revision

Personal tools