Difference between revisions of "Template:HSNU-TAIPEI/js/nav"
Line 27: | Line 27: | ||
$(document).mousemove(function(event) { | $(document).mousemove(function(event) { | ||
if(event.pageY <= 20) { | if(event.pageY <= 20) { | ||
− | nav_bar.fadeIn(); | + | nav_bar.fadeIn('fast'); |
} else if(nav_bar.filter(':hover').length === 0) { | } else if(nav_bar.filter(':hover').length === 0) { | ||
− | nav_bar.fadeOut(); | + | nav_bar.fadeOut('fast'); |
} | } | ||
}); | }); |
Revision as of 15:51, 3 April 2015