Team:Freiburg Bioware/jquery

From 2010.igem.org

(Difference between revisions)
Line 9: Line 9:
   $("#news").newsticker();
   $("#news").newsticker();
   $("#news").newsticker();
   $("#news").newsticker();
-
   $("img").wrap('<div class="' + this.class + ' img" />');
+
   $("img").each(function() {
 +
  $(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:15, 18 October 2010