Template:Team:TU Munich/MeetingHeader
From 2012.igem.org
(Difference between revisions)
Line 135: | Line 135: | ||
$("table").addClass("wikitable"); | $("table").addClass("wikitable"); | ||
$("#bodyContent h2").addClass("ui-corner-all"); | $("#bodyContent h2").addClass("ui-corner-all"); | ||
- | $(' | + | $('h2 span.mw-headline').click(function() { |
if ($(this).hasClass('displayed')) { | if ($(this).hasClass('displayed')) { | ||
$(this).parent().parent().children('p').css({display: 'none'}) | $(this).parent().parent().children('p').css({display: 'none'}) | ||
Line 150: | Line 150: | ||
} | } | ||
}); | }); | ||
- | $(' | + | $('h2 span.mw-headline').attr({ onMouseOver: "this.style.cursor='pointer'"}) |
}); | }); | ||
</script> | </script> | ||
</head> | </head> | ||
</html> | </html> |
Revision as of 12:31, 31 August 2012