Team:Wageningen UR/Templates/Page Footer
From 2013.igem.org
(Difference between revisions)
Karrenbelt (Talk | contribs) |
Karrenbelt (Talk | contribs) |
||
Line 49: | Line 49: | ||
$(window).load(function(){ | $(window).load(function(){ | ||
- | + | $('.subs').removeClass('active'); | |
- | + | ||
- | + | ||
- | $('#topmenu .project, ul.sub-project'). | + | $('#topmenu .project, ul.sub-project').mouseover( |
function() { | function() { | ||
- | $('ul.sub-project'). | + | $('ul.sub-project').addClass('active'); |
} | } | ||
); | ); | ||
- | $('#topmenu . | + | $('#topmenu .project, ul.sub-project').mouseout( |
function() { | function() { | ||
- | $('ul.sub- | + | $('ul.sub-project').removeClass('active'); |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
); | ); | ||
+ | |||
}); | }); | ||
}); | }); |
Revision as of 21:05, 4 October 2013