Create a gist now

Instantly share code, notes, and snippets.

$("#chiba").hover(function () {
if(!(lock_chiba)){
lock_chiba = true;
$('#west').find('#info').transition({ opacity: 1 });
$('#west').find("#info .info-name").shuffleLetters();
$('#west').find("#info .rainfall").shuffleLetters();
$('#west').find("#info .temperature").shuffleLetters();
$('#west').find("#info .windspeed").shuffleLetters();
setTimeout(function(){
$('#west').find('#line').transition({ opacity: 1 });
},600);
}
}, function(){
setTimeout(function(){
$('#west').find('#info').transition({ opacity: 0 });
$('#west').find('#line').transition({ opacity: 0 });
lock_chiba = false;
},3000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment