Team:Grenoble/script

From 2012.igem.org

(Difference between revisions)
m
Line 4: Line 4:
function(){
function(){
$("ul.topnav li").hover(
$("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 type="text/javascript">
 +
$(document).ready(
 +
function(){
 +
$("ul.menu li").hover(
function() {
function() {
// Hover over
// Hover over

Revision as of 08:20, 3 August 2012