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