Team:Grenoble/script

From 2012.igem.org

(Difference between revisions)
Line 261: Line 261:
(window,document);
(window,document);
 +
</script type="text/javascript">
 +
 +
<script>
 +
$(document).ready(
 +
function(){
 +
$("ul.subnav").parent().find("> a").append("<span> ↓</span>");
 +
$("ul.topnav li").hover(
 +
function() {
 +
// Hover over
 +
$(this).parent().find("ul.subnav").hide();
 +
$(this).find("ul.subnav").show();
 +
// Hover out
 +
$(this).hover(
 +
function() {
 +
},
 +
function(){
 +
$(this).find("ul.subnav").hide();
 +
}
 +
);
 +
},
 +
function(){
 +
$(this).find("ul.subnav").hide();
 +
}
 +
 +
);
 +
}
 +
);
</script>
</script>
 +
</html>
</html>

Revision as of 08:05, 18 July 2012