Team:ATOMS-Turkiye/Templates/AutohideContent
From 2013.igem.org
(Difference between revisions)
Line 26: | Line 26: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $(".article .mw-headline").click(toggleContent); | + | $(".article .mw-headline").click(toggleContent);/* |
$(".article .mw-headline").addClass("contentVisible"); | $(".article .mw-headline").addClass("contentVisible"); | ||
$(".article .mw-headline").hide(); | $(".article .mw-headline").hide(); | ||
- | $(".article .mw-headline:first-child").removeClass("contentVisible"); | + | $(".article .mw-headline:first-child").parent.removeClass("contentVisible"); |
- | $(".article .mw-headline:first-child").show; | + | $(".article .mw-headline:first-child").show;*/ |
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 15:29, 4 October 2013