Template:Team:HokkaidoU Japan/About Us/JS

From 2014.igem.org

(Difference between revisions)
Line 63: Line 63:
});
});
-
$(".show:li(3)").click(function(){
+
$(".show").slice(0,3).click(function(){
-
     $(".show:gt(4)").animate({"top": "160px"}, 500);
+
     $(".show").slice(4).animate({"top": "160px"}, 500);
});
});
</script>
</script>
</html>
</html>

Revision as of 15:43, 29 September 2014