Team:XMU-China/Nav1

From 2013.igem.org

Revision as of 12:19, 10 September 2013 by TonyWu (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$(function () {

   var st = 180;
   $('#nav_all>li').mouseenter(function () {
       $(this).find('ul').stop(false, true).slideDown(st);
   }).mouseleave(function () {
       $(this).find('ul').stop(false, true).slideUp(st);
   });

});