CU-Boulder:Header
From 2013.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
//eliminate jsnotice | //eliminate jsnotice | ||
- | $( | + | $("#jsnotice").hide(); |
//prepend menu icon | //prepend menu icon | ||
- | $( | + | $("#nav-wrap").prepend("<div id="menu-icon">Menu<\/div>"); |
//toggle nav | //toggle nav | ||
- | $( | + | $("#menu-icon").click(function(){ |
- | $( | + | $("#nav").slideToggle("fast"); |
- | $(this).toggleClass( | + | $(this).toggleClass("active"); |
}); | }); |
Revision as of 19:20, 3 July 2013