Team:Freiburg Bioware/jquery

From 2010.igem.org

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

Revision as of 14:25, 18 October 2010