User:Benjamin Miller: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$(function(){ | $(function(){ | ||
var path = location.pathname.substring(1); | |||
if ( path ) | |||
$('#headover ul li a[href$="http://openwetware.org/wiki/IGEM:Imperial/2010"]').css("color","#ea8828"); | |||
}); | }); | ||
$('#menuback').mouseover(function() { | |||
$('# | $('#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); | |||
}); | }); | ||
$('# | $('#lpro').mouseover(function(){ | ||
$('#headover ul').css("display","none"); | |||
$('#headlistpro1,#headlistpro2').stop().fadeIn(500); | |||
}); | }); | ||
$('#lpla').mouseover(function(){ | |||
$('#headover ul').css("display","none"); | |||
$('#headlistpla1,#headlistpla2').stop().fadeIn(500); | |||
}); | }); | ||
$('# | $('#lres').mouseover(function(){ | ||
$('#headover ul').css("display","none"); | |||
$('#headlistres').stop().fadeIn(500); | |||
}); | }); | ||
$('#lext').mouseover(function(){ | |||
$('#headover ul').css("display","none"); | |||
$('#headlistext').stop().fadeIn(500); | |||
}); | }); | ||
$('#menulist li a').mouseover(function(){ | |||
$('#menulist li a').css("color","#dddddd"); | |||
$(this).css("color","#ea8828"); | $(this).css("color","#ea8828"); | ||
}); | }); | ||
$('#headover ul li a').mouseover(function(){ | |||
$(' | $('#headover ul li a').css("color","#dddddd"); | ||
$(' | |||
$(this).css("color","#ea8828"); | $(this).css("color","#ea8828"); | ||
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 88: | Line 81: | ||
#menu { | #menu { | ||
width: | width:900px; | ||
height:150px; | height:150px; | ||
position: relative; | position: relative; | ||
Line 117: | Line 110: | ||
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; } | ||
a { | a { | ||
Line 180: | Line 128: | ||
color: #ea8828;} | color: #ea8828;} | ||
# | #menulist{ | ||
position: absolute; | position: absolute; | ||
top: 16px; | top: 16px; | ||
Line 187: | Line 134: | ||
list-style: none;} | list-style: none;} | ||
# | #menulist li{ | ||
height: 30px; | height: 30px; | ||
} | } | ||
# | #menulist li a{ | ||
font-weight: 100; | font-weight: 100; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
Line 198: | Line 145: | ||
color: #dddddd;} | color: #dddddd;} | ||
# | #headover ul{ | ||
list-style: none; | list-style: none; | ||
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
top: | top: 1.2em; | ||
left: | left: 0.2em; | ||
} | } | ||
# | #headover ul ul{ | ||
position: absolute; | position: absolute; | ||
top:-0.2em; | top:-0.2em; | ||
left: 15em;} | left: 15em;} | ||
# | #headover ul li{ | ||
height: 2.4em; | height: 2.4em; | ||
} | } | ||
# | #headover ul li a{ | ||
font-weight: 100; | font-weight: 100; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
Line 226: | Line 173: | ||
<body> | <body> | ||
<div id='title'> | <div id='title'> | ||
<div id=' | <div id='implogo'> | ||
</div> | </div> | ||
<div id=' | <div id='igemlogo'> | ||
</div> | </div> | ||
<div id=' | <div id='csynbilogo'> | ||
</div> | </div> | ||
</div> | </div> | ||
<div id='menu'> | <div id='menu'> | ||
< | <div id='menuback'> | ||
<ul id='menulist'> | |||
<li><a href='#' id='lpro'>Project</a></li> | |||
<li><a href='#' id='lpla'>Plan</a></li> | |||
<li><a href='#' id='lres'>Results</a></li> | |||
<li><a href='#' id='lext'>Extra</a></li> | |||
<li><a href='' | |||
<li><a href='' | |||
<li><a href='' | |||
</ul> | </ul> | ||
</div> | </div> | ||
<div id='headpic'> | <div id='headpic'> | ||
<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 id='headlistpro1'> | |||
<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/Detection_module' class='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/Output_module' class='project'>Output Module</a></li> | |||
<ul id='headlistpro2'> | |||
<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/Parts' class='project'>Parts</a></li> | |||
<li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Papers' class='project'>Papers</a></li> | |||
</ul> | |||
</ul> | |||
<ul id='headlistpla1'> | |||
<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/Parts/Synthesis' class='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/Protocol' class='plan'>Protocol</a></li> | |||
<ul id='headlistpla2'> | |||
<li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Modelling' class='plan'>Modelling</a></li> | |||
</ul> | |||
</ul> | |||
<ul id='headlistres'> | |||
<li><a href='#' class='results'>Under Construction</a></li> | |||
</ul> | |||
<ul id='headlistext'> | |||
<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/Journal_Club' class='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/Judging_Criteria' class='extra'>Judging Criteria</a></li> | |||
</ul> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 05:58, 23 September 2010
<html>
<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); if ( path ) $('#headover ul li a[href$="http://openwetware.org/wiki/IGEM:Imperial/2010"]').css("color","#ea8828"); });
$('#menuback').mouseover(function() {
$('#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); });
$('#lpro').mouseover(function(){
$('#headover ul').css("display","none"); $('#headlistpro1,#headlistpro2').stop().fadeIn(500); });
$('#lpla').mouseover(function(){
$('#headover ul').css("display","none"); $('#headlistpla1,#headlistpla2').stop().fadeIn(500); });
$('#lres').mouseover(function(){
$('#headover ul').css("display","none"); $('#headlistres').stop().fadeIn(500); });
$('#lext').mouseover(function(){
$('#headover ul').css("display","none"); $('#headlistext').stop().fadeIn(500); });
$('#menulist li a').mouseover(function(){
$('#menulist li a').css("color","#dddddd");
$(this).css("color","#ea8828");
}); $('#headover ul li a').mouseover(function(){
$('#headover ul li a').css("color","#dddddd"); $(this).css("color","#ea8828");
});
});
</script>
<style type="text/css">
#title { width:900px; height:50px; position: relative; top: 0px; left: 0px;}
#implogo { width:190px; height:50px; position: absolute; 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;}
#menuback { width:100px; height:150px; position: absolute; top: 0px; left: 0px; background-color: #495046}
#headpic { width:800px; height:150px; position: absolute; top: 0px; left: 100px; background-image: url('http://openwetware.org/images/5/54/Imperialigemheadone.jpg'); }
#headover { width: 800px; height:50px; position: absolute; top: 100px; left: 0px; background: url(http://openwetware.org/images/d/d8/Imperialigemheadoverone.png) 0px 0px no-repeat; }
a { outline:none;}
#headtit{ font-family: helvetica, arial, sans-serif; font-size: 1.2em; color: #ffffff; position: absolute; top: 0.5em; 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> </head> <body> <div id='title'> <div id='implogo'> </div> <div id='igemlogo'> </div> <div id='csynbilogo'> </div> </div> <div id='menu'> <div id='menuback'> <ul id='menulist'> <li><a href='#' id='lpro'>Project</a></li> <li><a href='#' id='lpla'>Plan</a></li> <li><a href='#' id='lres'>Results</a></li> <li><a href='#' id='lext'>Extra</a></li> </ul> </div> <div id='headpic'> <div id='headover'> <p id='headtit'>Parasight<span class='dark'> <span class='highlight'>|</span> Parasite detection with a rapid response</span></p> <ul id='headlistpro1'> <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/Detection_module' class='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/Output_module' class='project'>Output Module</a></li> <ul id='headlistpro2'> <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/Parts' class='project'>Parts</a></li> <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Papers' class='project'>Papers</a></li> </ul> </ul> <ul id='headlistpla1'> <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/Parts/Synthesis' class='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/Protocol' class='plan'>Protocol</a></li> <ul id='headlistpla2'> <li><a href='http://openwetware.org/wiki/IGEM:Imperial/2010/Modelling' class='plan'>Modelling</a></li> </ul> </ul> <ul id='headlistres'> <li><a href='#' class='results'>Under Construction</a></li> </ul> <ul id='headlistext'> <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/Journal_Club' class='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/Judging_Criteria' class='extra'>Judging Criteria</a></li> </ul> </div> </div> </div> </body>
</html>