Team:Freiburg Bioware/jquery

From 2010.igem.org

(Difference between revisions)
 
(21 intermediate revisions not shown)
Line 1: Line 1:
-
{{:Team:Freiburg_Bioware/jquery142}}
 
{{:Team:Freiburg_Bioware/jquery_newsticker}}
{{:Team:Freiburg_Bioware/jquery_newsticker}}
<html>
<html>
Line 7: Line 6:
$(document).ready(function() {
$(document).ready(function() {
-
   $(".pageContent").append("<ol id=\"footnotes\"></ol>");
+
   $("li[style]").addClass("menubar_current");
-
  footnote = 1;
+
   $("li[style]").removeAttr("style");
-
   $("span[title]").addClass("footnote");
+
   $("#news").newsticker();
-
   $(".footnote").each(function() {
+
   $('div.left-menu ul').prepend('<li class="pad-right"><a href="https://2010.igem.org/Team:Freiburg_Bioware">Freiburg Bioware</a>');
-
   $(this).append("<sup>" + footnote + "</sup>");
+
   $('div.left-menu ul').prepend('<li class="pad-right"><a href="https://2010.igem.org/Main_Page">iGEM 2010</a>');
-
   cite="<li>";
+
-
  title=$(this).attr("title");
+
-
  cite+=title;
+
-
  $("#footnotes").append(cite);
+
-
  footnote++;
+
-
  });
+
});
});
</script>
</script>
</head>
</head>
</html>
</html>

Latest revision as of 22:08, 25 October 2010