Team:SYSU-Software/home.js

From 2013.igem.org

(Difference between revisions)
(Created page with "$(document).ready(function() { console.log("haah"); cloud_moving = false; $("#download-cloud").bind("mouseover", function(){ // console.log("kakak", top_board_moving); ...")
(Blanked the page)
 
(One intermediate revision not shown)
Line 1: Line 1:
-
$(document).ready(function() {
+
 
-
console.log("haah");
+
-
cloud_moving = false;
+
-
$("#download-cloud").bind("mouseover", function(){
+
-
// console.log("kakak", top_board_moving);
+
-
console.log("haah");
+
-
if(!cloud_moving) {
+
-
$(this).addClass("moving");
+
-
cloud_moving = true;
+
-
setTimeout("cloud_moving=false;$('#download-cloud').removeClass('moving')", 1000);
+
-
}
+
-
});
+
-
});
+

Latest revision as of 02:54, 27 October 2013