Team:TU-Eindhoven/Template:UseReferencing

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
$('.tue-reference').each(function() {
$('.tue-reference').each(function() {
     var $this = $(this);
     var $this = $(this);
 +
    var refid = $this('.tue-refid').html();
     $('.tue-reflist').append("" + refnr + ". " + $this.html() + "<br />");
     $('.tue-reflist').append("" + refnr + ". " + $this.html() + "<br />");
     $this.html("<sup class=\"tue-inlineref\">[" + refnr + "]</sup>");
     $this.html("<sup class=\"tue-inlineref\">[" + refnr + "]</sup>");
     $this.show(500);
     $this.show(500);
 +
    $('#tue-refagain-' + refid).each(function() {
 +
        $(this).show();
 +
    }
     refnr = refnr + 1;
     refnr = refnr + 1;
});
});
</script></html>
</script></html>

Revision as of 10:18, 26 May 2013