Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
Line 50: | Line 50: | ||
function() { | function() { | ||
// Hover over | // Hover over | ||
- | $(this).find("ul.subnav").stop(true, true).show(); | + | $(this).find("ul.subnav").stop(true, true).css({height: "", opacity: ""}).show(); |
// Hover out | // Hover out | ||
$(this).hover( | $(this).hover( | ||
Line 56: | Line 56: | ||
}, | }, | ||
function(){ | function(){ | ||
- | $(this).find("ul.subnav").animate({opacity: 0, height: | + | $(this).find("ul.subnav").animate({opacity: 0, height: 0},'slow'); |
} | } | ||
); | ); | ||
}, | }, | ||
function(){ | function(){ | ||
- | $(this).find("ul.subnav").animate({opacity: 0, height: | + | $(this).find("ul.subnav").animate({opacity: 0, height: 0},'slow'); |
} | } | ||
Revision as of 00:26, 19 September 2011