Team:Freiburg Bioware/jquery

From 2010.igem.org

(Difference between revisions)
Line 18: Line 18:
$(".pageContent").append("<ol id=\"footnotes\"></ol>");
$(".pageContent").append("<ol id=\"footnotes\"></ol>");
footnote = 1;
footnote = 1;
-
$("footnote[title],blockquote[cite],blockquote[title]").addClass("footnote");
+
$("q[title],blockquote[cite],blockquote[title]").addClass("footnote");
$(".footnote").each(function() {
$(".footnote").each(function() {
$(this).append("<sup>"+footnote+"</sup>");
$(this).append("<sup>"+footnote+"</sup>");

Revision as of 20:59, 11 October 2010