Team:UCLA/Template

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
$("#menu > li > ul").hide();
$("#menu > li > ul").hide();
$("#menu > li").mouseenter(function() {
$("#menu > li").mouseenter(function() {
-
$(this).children("li > ul").slideDown(500);
+
$(this).children("li > ul").slideDown(250);
});
});
         $("#menu > li").mouseleave(function() {
         $("#menu > li").mouseleave(function() {
-
$(this).children("li > ul").slideUp(500);
+
$(this).children("li > ul").slideUp(250);
});
});
});
});

Revision as of 21:42, 17 July 2014