Team:DTU-Denmark/sysucolortest
From 2014.igem.org
(Difference between revisions)
Line 76: | Line 76: | ||
var protocolDiv = $("div." + protocol); | var protocolDiv = $("div." + protocol); | ||
if (protocolDiv.is(":visible")) { | if (protocolDiv.is(":visible")) { | ||
- | $(this).html("Show"); | + | $(this).html("<a>Show</a>"); |
protocolDiv.hide("slow"); | protocolDiv.hide("slow"); | ||
} else { | } else { | ||
- | $(this).html("Hide"); | + | $(this).html("<a>Hide</a>"); |
protocolDiv.show('slow'); | protocolDiv.show('slow'); | ||
}; | }; |
Revision as of 08:14, 18 September 2014
MOVED to template_css