Team:Freiburg Bioware/jquery

From 2010.igem.org

(Difference between revisions)
Line 11: Line 11:
   $("img").each(function() {
   $("img").each(function() {
   $(this).wrap('<div class="img" />');
   $(this).wrap('<div class="img" />');
-
   }
+
   });
   $("img").after(function() {
   $("img").after(function() {
   return '<div class="subtitle">' + this.alt + '</div>';
   return '<div class="subtitle">' + this.alt + '</div>';

Revision as of 12:16, 18 October 2010