Team:Hong Kong HKUST/blank4

From 2013.igem.org

(Difference between revisions)
 
Line 38: Line 38:
-
 
+
<title>Team</title>
 +
</head>
 +
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
 +
</script>
 +
<script>
 +
$(document).ready(function()
 +
  {
 +
  $("#team1").mouseover(function(){
 +
    $("#team1").animate({width:"110px"});
 +
  });
 +
  $("#team2").mouseleave(function(){
 +
    $("#team1").animate({width:"220px"});
 +
  });
 +
  $("#wetlab1").mouseover(function(){
 +
    $("#wetlab1").animate({width:"110px"});
 +
  });
 +
  $("#wetlab2").mouseleave(function(){
 +
    $("#wetlab1").animate({width:"220px"});
 +
  });
 +
  $("#hp1").mouseover(function(){
 +
    $("#hp1").animate({width:"215px"});
 +
  });
 +
  $("#hp2").mouseleave(function(){
 +
    $("#hp1").animate({width:"430px"});
 +
  });
 +
  $("#project1").mouseover(function(){
 +
    $("#project1").animate({width:"110px"});
 +
  });
 +
  $("#project2").mouseleave(function(){
 +
    $("#project1").animate({width:"220px"});
 +
  });
 +
  $('#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>
<body>
<body>
-
 
-
 
-
 
<style type="text/css">
<style type="text/css">

Latest revision as of 07:17, 15 July 2013

Team