Team:Virginia/Parts

From 2014.igem.org

(Difference between revisions)
Line 2: Line 2:
<html>
<html>
<head>
<head>
-
<script src="//code.jquery.com/jquery-git2.js"></script>
+
 
</head>
</head>
Line 46: Line 46:
     </ul>
     </ul>
  <br>
  <br>
-
<script>
 
-
 
-
$(document).ready(function(){
 
-
  $('#navbar > li').hover(function() {
 
-
$(this).find('ul').slideToggle("slow");
 
-
});
 
-
 
-
 
-
$('#navbar > li > ul > li').mouseover(function(){
 
-
  $(this).css("background-color","#5F9C87");
 
-
});
 
-
 
-
$('#navbar li').hover(function(){
 
-
  $(this).css("background-color","#40CC9D");
 
-
});
 
-
 
-
$('#navbar > li > a').hover(function(){$(this).parent().css("background-color","#5F9C87");}, function(){$(this).parent().css("background-color","#40CC9D");});
 
-
});
 
-
  </script>
 
</body>
</body>
</html>
</html>

Revision as of 15:28, 25 July 2014