Team:Hong Kong HKUST/team
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | |||
+ | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> | ||
<head> | <head> | ||
Line 137: | Line 139: | ||
<!-- start content --> | <!-- start content --> | ||
<p> | <p> | ||
+ | <head> | ||
+ | <h1style="height:420px;background:#F8F5B3;margin:0px;padding:0px"></h1> | ||
+ | </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); | ||
+ | }); | ||
+ | }); | ||
<img src = "http://images.wikia.com/pes/de/images/0/0c/FC_Bayern_(52).jpg" alt="Pulpit rock" width="600" height="450" style = "float:left; margin-left:100px;"> | <img src = "http://images.wikia.com/pes/de/images/0/0c/FC_Bayern_(52).jpg" alt="Pulpit rock" width="600" height="450" style = "float:left; margin-left:100px;"> | ||
<body> | <body> |
Revision as of 06:58, 26 June 2013