Team:ETH Zurich/Templates/TestHeader
From 2012.igem.org
(Difference between revisions)
Line 205: | Line 205: | ||
$('.eth_reference').each(function (index, domEle) { | $('.eth_reference').each(function (index, domEle) { | ||
var refId = $(this).text().replace('[', '').replace(']', ''); | var refId = $(this).text().replace('[', '').replace(']', ''); | ||
- | $(this).html('<a href="#'+refId+'"> | + | $(this).html('[<a href="#'+refId+'">'+refId+'</a>]'); |
$("#"+refId).show(); | $("#"+refId).show(); | ||
$("#eth_references").show(); | $("#eth_references").show(); |
Revision as of 19:16, 24 September 2012