Team:ATOMS-Turkiye/Templates/AutohideContent
From 2013.igem.org
(Difference between revisions)
Line 25: | Line 25: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $(".article .mw-headline").click(toggleContent); | + | $(".article h2 .mw-headline").click(toggleContent); |
- | a = $(".article .mw-headline").parent().next(); | + | a = $(".article h2 .mw-headline").parent().next(); |
a.addClass("contentVisible"); | a.addClass("contentVisible"); | ||
a.hide(); | a.hide(); |
Latest revision as of 00:51, 5 October 2013