User:Benjamin Miller

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Current revision (10:42, 23 September 2010) (view source)
 
(4 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(){
 +
 
$(function(){
$(function(){
-
  var path = location.pathname.substring(1);
+
var path = location.pathname.substring(1);
-
  if ( path )
+
if ( path )
-
    $('#menulist li ul li a[href$="http://openwetware.org/wiki/User:Benjamin_Miller"]').css("color","#ea8828");
+
$('#headover ul li a[href$="http://openwetware.org/wiki/IGEM:Imperial/2010"]').addClass("curlink");
-
  });
+
  var vCurlink = $('#headover ul li a[href$="http://openwetware.org/wiki/IGEM:Imperial/2010"]').attr("id");
-
 
+
$('#'+vCurlink+'.listhead').addClass('curlink');
-
      $('#lside1').mouseover(function() {
+
$('.curlink').css("color","#ea8828");
-
      $('#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);
+
-
      });
+
$('#menuback').mouseover(function() {
$('#menuback').mouseover(function() {
-
      $('#headover').stop().animate({height:'150px',top:'0px'},1000);
+
$('#headover').stop().animate({height:'150px',top:'0px'},1000);
-
      });
+
});
-
      $('#menu').mouseleave(function() {
+
-
      $('#menulist li a').css("color","#dddddd");
+
-
      $('#headover ul li a').css("color","#dddddd");
+
-
      $('#headover ul').fadeOut(500);
+
-
      $('#headover').stop().animate({height:'50px',top:'100px'},1000);
+
-
      });
+
-
$('.menulist1i').mouseover(function(){
+
$('#menu').mouseleave(function() {
-
  $('.menulist1i').css("color","#dddddd");
+
$('.listhead,.listmain').not('.curlink').css("color","#dddddd");
 +
$('#headover ul').fadeOut(500);
 +
$('#headover').stop().animate({height:'50px',top:'100px'},1000);
 +
});
 +
 
 +
$('.listhead').mouseover(function(){
 +
  $('.listhead').not('.curlink').css("color","#dddddd");
  $(this).css("color","#ea8828");
  $(this).css("color","#ea8828");
-
  $('.menulist2').css("display","none");
+
  $('#headover ul').css("display","none");
-
  $(this).parent('.menulist2').stop().fadeIn(500);
+
  var vActive = $(this).attr("id");
 +
$('.'+vActive).stop().fadeIn(500);
});
});
-
$('#headover ul li a').mouseover(function(){
+
$('.listmain').mouseover(function(){
-
  $('#headover ul li a').css("color","#dddddd");
+
  $('.listmain').not('.curlink').css("color","#dddddd");
  $(this).css("color","#ea8828");
  $(this).css("color","#ea8828");
});
});
-
    });
+
 
-
</script>
+
  });
 +
  </script>
   <style type="text/css">
   <style type="text/css">
Line 87: Line 74:
   #menu {
   #menu {
-
     width:100px;
+
     width:900px;
     height:150px;
     height:150px;
     position: relative;
     position: relative;
Line 116: Line 103:
     left: 0px;
     left: 0px;
     background: url(http://openwetware.org/images/d/d8/Imperialigemheadoverone.png) 0px 0px no-repeat; }
     background: url(http://openwetware.org/images/d/d8/Imperialigemheadoverone.png) 0px 0px no-repeat; }
-
 
-
  #side1 {
 
-
    width: 250px;
 
-
    height: 100px;
 
-
    position: relative;
 
-
    top: 40px;
 
-
    left: 650px;}
 
-
 
-
  #lside1 {
 
-
    width: 250px;
 
-
    height: 100px;
 
-
    background: url(http://openwetware.org/images/d/df/Imperialigemsideone.jpg) -250px 0px no-repeat;
 
-
    position: absolute;
 
-
    top: 0px;
 
-
    left: 0px;}
 
-
 
-
  #side2 {
 
-
    width: 250px;
 
-
    height: 100px;
 
-
    position: absolute;
 
-
    top: 120px;
 
-
    left: 0px;}
 
-
 
-
  #lside2 {
 
-
    width: 250px;
 
-
    height: 100px;
 
-
    background: url(http://openwetware.org/images/6/66/Imperialigemsidetwo.jpg) -250px 0px no-repeat;
 
-
    position: absolute;
 
-
    top: 0px;
 
-
    left: 0px;}
 
-
 
-
  #side3 {
 
-
    width: 250px;
 
-
    height: 100px;
 
-
    position: absolute;
 
-
    top: 120px;
 
-
    left: 0px;}
 
-
 
-
  #lside3 {
 
-
    width: 250px;
 
-
    height: 100px;
 
-
    background: url(http://openwetware.org/images/e/ea/Imperialigemsidethree.jpg) -250px 0px no-repeat;
 
-
    position: absolute;
 
-
    top: 0px;
 
-
    left: 0px;}
 
   a {
   a {
Line 179: Line 121:
     color: #ea8828;}
     color: #ea8828;}
-
   #menulist1{
+
   #menulist{
-
    z-index:2;
+
     position: absolute;
     position: absolute;
     top: 16px;
     top: 16px;
Line 186: Line 127:
     list-style: none;}
     list-style: none;}
-
   #menulist1 li{
+
   #menulist li{
     height: 30px;
     height: 30px;
     }
     }
-
   #menulist1 li a{
+
   #menulist li a{
     font-weight: 100;
     font-weight: 100;
     font-size: 1.2em;
     font-size: 1.2em;
Line 197: Line 138:
     color: #dddddd;}
     color: #dddddd;}
-
   #menulist1 li ul{
+
   #headover ul{
     list-style: none;
     list-style: none;
     display: none;
     display: none;
     position: absolute;
     position: absolute;
-
     top: 0em;
+
     top: 1.2em;
-
     left: 10em;
+
     left: 0.2em;
     }
     }
-
   #menulist1 li ul ul{
+
   #headover ul ul{
     position: absolute;
     position: absolute;
     top:-0.2em;
     top:-0.2em;
     left: 15em;}
     left: 15em;}
-
   #menulist1 li ul li{
+
   #headover ul li{
     height: 2.4em;
     height: 2.4em;
     }
     }
-
   #menulist1 li ul li a{
+
   #headover ul li a{
     font-weight: 100;
     font-weight: 100;
     font-size: 1.2em;
     font-size: 1.2em;
Line 225: Line 166:
  <body>
  <body>
   <div id='title'>
   <div id='title'>
-
   <div id='logoimp'>
+
   <div id='implogo'>
   </div>
   </div>
-
   <div id='logoigem'>
+
   <div id='igemlogo'>
   </div>
   </div>
-
   <div id='logocsynbi'>
+
   <div id='csynbilogo'>
   </div>
   </div>
   </div>
   </div>
   <div id='menu'>
   <div id='menu'>
-
   <ul id='menulist1'>
+
   <div id='menuback'>
-
    <li><a href='' class='menulist1i'>Project</a>
+
    <ul id='menulist'>
-
      <ul class='menulist2'>
+
    <li><a href='#' class='listhead' id='project'>Project</a></li>
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010'>Overview</a></li>
+
     <li><a href='#' class='listhead' id='plan'>Plan</a></li>
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Detection_module'>Detection Module</a></li>
+
    <li><a href='#' class='listhead' id='results'>Results</a></li>
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Fast_Response_module'>Fast Response Module</a></li>
+
     <li><a href='#' class='listhead' id='extra'>Extra</a></li>
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Output_module'>Output Module</a>
+
-
        <ul class='menulist2'>
+
-
        <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Ethics'>Ethics</a></li>
+
-
        <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Parts'>Parts</a></li>
+
-
        <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Papers'>Papers</a></li>
+
-
        </ul>
+
-
      </li>
+
-
      </ul>
+
-
    </li>
+
-
     <li><a href='' class='menulist1i'>Plan</a>
+
-
      <ul class='menulist2'>
+
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Strategy'>Strategy</a></li>
+
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Parts/Synthesis'>Synthesis</a></li>
+
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Lab_Work'>Lab Work</a></li>
+
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Protocol'>Protocol</a>
+
-
        <ul class='menulist2'>
+
-
        <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Modelling'>Modelling</a></li>
+
-
        </ul>
+
-
      </li>
+
-
      </ul>
+
-
    </li>
+
-
     <li><a href='' class='menulist1i'>Results</a>
+
-
      <ul class='menulist2'>
+
-
      <li><a href=''>Under Construction</a></li>
+
-
      </ul>
+
-
    </li>
+
-
    <li><a href='' class='menulist1i'>Extra</a>
+
-
      <ul class='menulist2'>
+
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Projects'>Brainstorming</a></li>
+
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Journal_Club'>Journal Club</a></li>
+
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Movie_Night'>Movie Night</a></li>
+
-
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Judging_Criteria'>Judging Criteria</a></li>
+
-
      </ul>
+
-
    </li>
+
     </ul>
     </ul>
-
  <div id='menuback'>
 
   </div>
   </div>
   <div id='headpic'>
   <div id='headpic'>
     <div id='headover'>
     <div id='headover'>
     <p id='headtit'>Parasight<span class='dark'> &nbsp;<span class='highlight'>|</span>&nbsp;&nbsp;Parasite detection with a rapid response</span></p>
     <p id='headtit'>Parasight<span class='dark'> &nbsp;<span class='highlight'>|</span>&nbsp;&nbsp;Parasite detection with a rapid response</span></p>
-
    </div>
+
    <ul class='project'>
-
  </div>
+
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010' class='listmain' id='project'>Overview</a></li>
-
  </div>
+
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Detection_module' class='listmain' id='project'>Detection Module</a></li>
-
  <div id='side1'>
+
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Fast_Response_module' class='listmain' id='project'>Fast Response Module</a></li>
-
  <a href='#' id='lside1'></a>
+
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Output_module' class='listmain' id='project'>Output Module</a></li>
-
  <div id='side2'>
+
      <ul class='project'>
-
    <a href='#' id='lside2'></a>
+
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Ethics' class='listmain' id='project'>Ethics</a></li>
-
    <div id='side3'>
+
      <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Parts' class='listmain' id='project'>Parts</a></li>
-
     <a href='#' id='lside3'></a>
+
      <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>  
     </div>
     </div>
   </div>
   </div>
   </div>
   </div>
  </body>
  </body>
-
</html>
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
<html>
 
</html>
</html>

Current revision

Personal tools