Team:TU-Eindhoven/Template:UseReferencing
From 2013.igem.org
(Difference between revisions)
Pascalaldo (Talk | contribs) |
Pascalaldo (Talk | contribs) |
||
(5 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
var $this = $(this); | var $this = $(this); | ||
var refid = $this.children('.tue-refid').html(); | var refid = $this.children('.tue-refid').html(); | ||
- | $('.tue-reflist').append("" + refnr + ". " + $this.html() + "< | + | $('.tue-reflist').append("<span style='display:block;padding-left:30px;text-indent:-30px;'><b>" + refnr + ".</b> " + $this.html() + "</span>"); |
$this.html("<sup class=\"tue-inlineref\">[" + refnr + "]</sup>"); | $this.html("<sup class=\"tue-inlineref\">[" + refnr + "]</sup>"); | ||
- | $this.show( | + | $this.show(); |
$('#tue-refagain-' + refid).each(function() { | $('#tue-refagain-' + refid).each(function() { | ||
+ | $(this).html("<sup class=\"tue-inlineref\">[" + refnr + "]</sup>"); | ||
$(this).show(); | $(this).show(); | ||
}); | }); |
Latest revision as of 12:03, 7 September 2013