Team:Freiburg Bioware/jquery

From 2010.igem.org

(Difference between revisions)
Line 7: Line 7:
$(document).ready(function() {
$(document).ready(function() {
 +
  $("li[style]").addClass("menubar_current");
   $("#news").newsticker();
   $("#news").newsticker();
-
 
-
 
   $("img").each(function() {
   $("img").each(function() {
   title=$(this).attr("class");
   title=$(this).attr("class");
Line 17: Line 16:
   return '<div class="subtitle">' + this.alt + '</div>';
   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 16:08, 18 October 2010