Team:Sevilla/test

From 2011.igem.org

(Difference between revisions)
Line 79: Line 79:
-
<html>
+
 
-
<head>
+
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
+
-
<script type="text/javascript">
+
-
$(document).ready(function(){
+
-
+
-
//Menu desplegable
+
-
$("#menu ul li ul").hide();
+
-
$("#menu ul li span.current").addClass("open").next("ul").show();
+
-
$("#menu ul li span").click(function(){
+
-
$(this).next("ul").slideToggle("slow").parent("li").siblings("li").find("ul:visible").slideUp("slow");
+
-
$(this).toggleClass("open");
+
-
$(this).parent("li").siblings("li").find("span").removeClass("open");
+
-
});
+
-
+
-
});
+
-
</script>
+
-
</head>
+
<body>
<body>
Line 144: Line 127:
</body>
</body>
-
</html>
 

Revision as of 10:04, 2 April 2011

Hoy es el dia 24 de November


{{:Team:Sevilla/test2}} 2º parte del wikiii