Team:ETH Zurich/Templates/HeaderNew
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | <html> | + | <html></p> |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> | ||
Line 6: | Line 6: | ||
<link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" /> | <link rel="stylesheet" href="https://2011.igem.org/Team:ETH_Zurich/Templates/StyleSheetNew?action=raw&ctype=text/css" type="text/css" /> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
$(document).ready( function() | $(document).ready( function() | ||
{ | { | ||
- | |||
$(function() | $(function() | ||
{ | { | ||
- | + | //restoreMenu(false); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | // restoreMenu(false); | + | |
}); | }); | ||
$('#menulist li').mouseover(function(){ | $('#menulist li').mouseover(function(){ | ||
- | + | /* | |
- | + | ||
var foo = $(this).attr('id'); | var foo = $(this).attr('id'); | ||
if (foo != lastPage) | if (foo != lastPage) | ||
Line 75: | Line 41: | ||
var vActive = $(this).attr("id"); | var vActive = $(this).attr("id"); | ||
$('.'+vActive+'Sub').stop(true).delay(400).fadeIn(500); | $('.'+vActive+'Sub').stop(true).delay(400).fadeIn(500); | ||
+ | */ | ||
}); | }); | ||
$('.listmain').mouseover(function(){ | $('.listmain').mouseover(function(){ | ||
- | $(this).stop(true).animate({color: '#FFFFFF'}, 200); | + | // $(this).stop(true).animate({color: '#FFFFFF'}, 200); |
}); | }); | ||
$('.listmain').mouseleave(function(){ | $('.listmain').mouseleave(function(){ | ||
- | $(this).stop(true).animate({color: '#DDDDDD'}, 200); | + | // $(this).stop(true).animate({color: '#DDDDDD'}, 200); |
}); | }); | ||
}); | }); | ||
- | + | ||
</script> | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
/** | /** | ||
Line 416: | Line 380: | ||
#navi,.navi | #navi,.navi | ||
{ | { | ||
- | height: | + | height: 30px; |
width: 100%; | width: 100%; | ||
} | } | ||
Line 437: | Line 401: | ||
</style> | </style> | ||
+ | <div id="navi"> | ||
<div class="navi stickToTop"> | <div class="navi stickToTop"> | ||
<ul class="dropdown dropdown-horizontal"> | <ul class="dropdown dropdown-horizontal"> | ||
Line 504: | Line 469: | ||
</ul> | </ul> | ||
+ | </div> | ||
</div> | </div> | ||
Revision as of 17:19, 14 October 2011
![Menu image preload](/wiki/images/e/e2/ETHZ-bg-overview.png)
![Menu image preload](/wiki/images/0/03/ETHZ-bg-biology.png)
![Menu image preload](/wiki/images/a/ac/ETHZ-bg-process.png)
![Menu image preload](/wiki/images/b/b8/ETHZ-bg-modeling.png)
![Menu image preload](/wiki/images/3/3d/ETHZ-bg-achievements.png)
![Menu image preload](/wiki/images/e/ed/ETHZ-bg-team.png)