Team:SYSU-Software/notebook

From 2014.igem.org

(Difference between revisions)
Line 264: Line 264:
<script type="text/javascript" src="https://2014.igem.org/Team:SYSU-Software/allMenu.js?action=raw&ctype=text/javascript"></script>
<script type="text/javascript" src="https://2014.igem.org/Team:SYSU-Software/allMenu.js?action=raw&ctype=text/javascript"></script>
<script type="text/javascript" src="https://2014.igem.org/Team:SYSU-Software/toTop.js?action=raw&ctype=text/javascript"></script>
<script type="text/javascript" src="https://2014.igem.org/Team:SYSU-Software/toTop.js?action=raw&ctype=text/javascript"></script>
-
<script>
+
 
-
$(".main2 .year .list").each(function (e, target) {
+
-
    var $target=  $(target),
+
-
        $ul = $target.find("ul");
+
-
    $target.height($ul.outerHeight()), $ul.css("position", "absolute");
+
-
});
+
-
$(".main2 .year>h2>a").click(function (e) {
+
-
    e.preventDefault();
+
-
    $(this).parents(".year").toggleClass("close");
+
-
});
+
-
</script>
+
</html>
</html>

Revision as of 13:53, 10 October 2014

Team:SYSU-Software