Team:Freiburg Bioware/jquery

From 2010.igem.org

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

Latest revision as of 22:08, 25 October 2010