Team:Wageningen UR/Templates/Page Footer
From 2013.igem.org
(Difference between revisions)
Karrenbelt (Talk | contribs) |
Karrenbelt (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | <html><script type="text/javascript">$('h1.firstHeading, #contentSub').remove();$('#topmenu .menucenter li .selflink').parent().addClass('active');</script></html> | + | <html><script type="text/javascript"> |
+ | $('h1.firstHeading, #contentSub').remove(); | ||
+ | $('#topmenu .menucenter li .selflink').parent().addClass('active'); | ||
+ | $(function ($) { | ||
+ | "use strict"; | ||
+ | jQuery(document).ready(function ($) { | ||
+ | $('#topmenu .project, ul.sub-project').hover( | ||
+ | function() { | ||
+ | $('ul.sub-project').toggleClass('active'); | ||
+ | } | ||
+ | ); | ||
+ | }); | ||
+ | </script></html> |
Revision as of 01:30, 26 July 2013