Team:Freiburg Bioware/jquery
From 2010.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
$("img").each(function() { | $("img").each(function() { | ||
class=$(this).attr("class"); | class=$(this).attr("class"); | ||
- | $( | + | $("img").after(function() { |
+ | return '<div class="subtitle">' + this.alt + '</div>'; | ||
+ | }); | ||
}); | }); | ||
$(".pageContent").append("<ol id=\"footnotes\"></ol>"); | $(".pageContent").append("<ol id=\"footnotes\"></ol>"); |
Revision as of 14:47, 18 October 2010