Team:Freiburg Bioware/jquery

From 2010.igem.org

(Difference between revisions)
Line 8: Line 8:
$(document).ready(function() {
$(document).ready(function() {
   $("#news").newsticker();
   $("#news").newsticker();
 +
  $("img").each(function() {
 +
  class=$(this).attr("class");
 +
  $(this).wrap('<div class="img ' + class + '" />');
 +
  });
   $(".pageContent").append("<ol id=\"footnotes\"></ol>");
   $(".pageContent").append("<ol id=\"footnotes\"></ol>");
   footnote = 1;
   footnote = 1;

Revision as of 14:43, 18 October 2010