Team:Hong Kong HKUST/team

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
</script>
</script>
-
<script type="text/javascript">
+
 
-
$(document).ready(function(){
+
<script>
-
$(".menu li").hover(function(){
+
$(document).ready(function()
-
$(this).find("ul>li").stop().fadeToggle(10);
+
  {
-
});
+
 
 +
  $('#menubar').mouseover(function(){
 +
    $('#menubar').stop().animate({top:"0px"},500);
 +
  });
 +
  $('#menubar').mouseleave(function(){
 +
    $('#menubar').stop().animate({top:"-20px"},500);
 +
  });
 +
  $('#menubar.right-menu').mouseover(function(){
 +
    $('#menubar.right-menu').stop().animate({top:"0px"},500);
 +
  });
 +
  $('#menubar.right-menu').mouseleave(function(){
 +
    $('#menubar.right-menu').stop().animate({top:"-20px"},500);
 +
  });
});
});
</script>
</script>
 +
<style type="text/css">
<style type="text/css">
Line 116: Line 129:
</style>
</style>
-
<style>
 
-
</style>
 
</head>
</head>
<body>
<body>
Line 175: Line 186:
-
<style>
 
-
 
-
 
-
</style>
 
<title>Team</title>
<title>Team</title>
</head>
</head>
-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
 
-
</script>
 
-
<script>
 
-
$(document).ready(function()
 
-
  {
 
-
 
 
-
  $('#menubar').mouseover(function(){
 
-
    $('#menubar').stop().animate({top:"0px"},500);
 
-
  });
 
-
  $('#menubar').mouseleave(function(){
 
-
    $('#menubar').stop().animate({top:"-20px"},500);
 
-
  });
 
-
  $('#menubar.right-menu').mouseover(function(){
 
-
    $('#menubar.right-menu').stop().animate({top:"0px"},500);
 
-
  });
 
-
  $('#menubar.right-menu').mouseleave(function(){
 
-
    $('#menubar.right-menu').stop().animate({top:"-20px"},500);
 
-
  });
 
-
});
 
-
</script>
 

Revision as of 08:30, 24 July 2013

Team

HKUST iGEM Team 2013