Template:Team:Amsterdam/ernst/scripts
From 2012.igem.org
(Difference between revisions)
Line 60: | Line 60: | ||
var ulellement = $(this).find('ul:first'); | var ulellement = $(this).find('ul:first'); | ||
ulellement.stop().animate({display:'block', height:'show'},{queue:true, duration:400}); | ulellement.stop().animate({display:'block', height:'show'},{queue:true, duration:400}); | ||
- | }, | + | },function(element){ |
element.stop().animate({height:'hide', display:'none'},{queue:true, duration:400}); | element.stop().animate({height:'hide', display:'none'},{queue:true, duration:400}); | ||
- | } | + | }(ulellement)); |
} | } | ||
Revision as of 15:06, 10 September 2012