User:Benjamin Miller
From OpenWetWare
(Difference between revisions)
Current revision (11:42, 23 September 2010) (view source) |
|||
| (2 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"> | |
| - | + | $(document).ready(function(){ | |
| - | + | ||
| - | + | $(function(){ | |
| - | + | var path = location.pathname.substring(1); | |
| - | + | if ( path ) | |
| - | + | $('#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'); | ||
| + | $('.curlink').css("color","#ea8828"); | ||
| + | }); | ||
$('#menuback').mouseover(function() { | $('#menuback').mouseover(function() { | ||
| - | + | $('#headover').stop().animate({height:'150px',top:'0px'},1000); | |
| - | + | }); | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| + | $('#menu').mouseleave(function() { | ||
| + | $('.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"); | ||
| + | $('#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"); | $(this).css("color","#ea8828"); | ||
}); | }); | ||
| - | + | ||
| - | </script> | + | }); |
| + | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
| Line 183: | Line 176: | ||
<div id='menuback'> | <div id='menuback'> | ||
<ul id='menulist'> | <ul id='menulist'> | ||
| - | <li><a href='#' id=' | + | <li><a href='#' class='listhead' id='project'>Project</a></li> |
| - | <li><a href='#' id=' | + | <li><a href='#' class='listhead' id='plan'>Plan</a></li> |
| - | <li><a href='#' id=' | + | <li><a href='#' class='listhead' id='results'>Results</a></li> |
| - | <li><a href='#' id=' | + | <li><a href='#' class='listhead' id='extra'>Extra</a></li> |
</ul> | </ul> | ||
</div> | </div> | ||
| Line 192: | Line 185: | ||
<div id='headover'> | <div id='headover'> | ||
<p id='headtit'>Parasight<span class='dark'> <span class='highlight'>|</span> Parasite detection with a rapid response</span></p> | <p id='headtit'>Parasight<span class='dark'> <span class='highlight'>|</span> Parasite detection with a rapid response</span></p> | ||
| - | <ul | + | <ul class='project'> |
| - | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010' class='project'>Overview</a></li> | + | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010' class='listmain' id='project'>Overview</a></li> |
| - | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Detection_module' class='project'>Detection Module</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='http://openwetware.org/wiki/IGEM:Imperial/2010/Fast_Response_module' class='project'>Fast Response Module</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='http://openwetware.org/wiki/IGEM:Imperial/2010/Output_module' class='project'>Output Module</a></li> | + | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Output_module' class='listmain' id='project'>Output Module</a></li> |
| - | <ul | + | <ul class='project'> |
| - | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Ethics' class='project'>Ethics</a></li> | + | <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='project'>Parts</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='project'>Papers</a></li> | + | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Papers' class='listmain' id='project'>Papers</a></li> |
</ul> | </ul> | ||
</ul> | </ul> | ||
| - | <ul | + | <ul class='plan'> |
| - | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Strategy' class='plan'>Strategy</a></li> | + | <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='plan'>Synthesis</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='plan'>Lab Work</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='plan'>Protocol</a></li> | + | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Protocol' class='listmain' id='plan'>Protocol</a></li> |
| - | <ul | + | <ul class='plan'> |
| - | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Modelling' class='plan'>Modelling</a></li> | + | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Modelling' class='listmain' id='plan'>Modelling</a></li> |
</ul> | </ul> | ||
</ul> | </ul> | ||
| - | <ul | + | <ul class='results'> |
| - | <li><a href='#' class='results'>Under Construction</a></li> | + | <li><a href='#' class='listmain' id='results'>Under Construction</a></li> |
</ul> | </ul> | ||
| - | <ul | + | <ul class='extra'> |
| - | <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Projects' class='extra'>Brainstorming</a></li> | + | <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='extra'>Journal Club</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='extra'>Movie Night</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='extra'>Judging Criteria</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> | ||
Current revision


