Team:ATOMS-Turkiye/Templates/AutohideContent
From 2013.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
function toggleContent(){ | function toggleContent(){ | ||
next = $(this).parent().next(); | next = $(this).parent().next(); | ||
- | |||
if(next.is(':animated')) | if(next.is(':animated')) | ||
next.stop(); | next.stop(); | ||
Line 30: | Line 29: | ||
a.addClass("contentVisible"); | a.addClass("contentVisible"); | ||
a.hide(); | a.hide(); | ||
- | a = | + | a = a.eq(0); |
a.removeClass("contentVisible"); | a.removeClass("contentVisible"); | ||
a.show(); | a.show(); |
Revision as of 15:34, 4 October 2013