Team:UCLA/anuved verma ucla2014 workspace
From 2014.igem.org
(Difference between revisions)
Anuvedverma (Talk | contribs) |
Anuvedverma (Talk | contribs) |
||
Line 6: | Line 6: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$("#menu > li > ul").hide(); | $("#menu > li > ul").hide(); | ||
- | $("#menu > li"). | + | $("#menu > li").mouseenter(function() { |
- | $(#menu > li > ul). | + | $(this).children("li > ul").slideDown(500); |
+ | }); | ||
+ | $("#menu > li").mouseleave(function() { | ||
+ | $(this).children("li > ul").slideUp(500); | ||
}); | }); | ||
}); | }); |
Revision as of 05:58, 16 July 2014