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); ...") |
|||
Line 1: | Line 1: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | console.log("haah"); | + | /* console.log("haah"); */ |
cloud_moving = false; | cloud_moving = false; | ||
$("#download-cloud").bind("mouseover", function(){ | $("#download-cloud").bind("mouseover", function(){ | ||
// console.log("kakak", top_board_moving); | // console.log("kakak", top_board_moving); | ||
- | console.log("haah"); | + | /* console.log("haah"); */ |
if(!cloud_moving) { | if(!cloud_moving) { | ||
$(this).addClass("moving"); | $(this).addClass("moving"); |
Revision as of 11:55, 26 October 2013
$(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); } }); });