Difference between revisions of "Template:HSNU-TAIPEI/js/nav"

Line 18: Line 18:
 
$(document).mousemove(function(event) {
 
$(document).mousemove(function(event) {
 
   if(event.pageY <= 20) {
 
   if(event.pageY <= 20) {
     nav_bar.fadeIn();
+
     nav_bar.show();
 
   } else {
 
   } else {
 
     nav_bar.mouseleave(function() {
 
     nav_bar.mouseleave(function() {
       $(this).fadeOut();
+
       $(this).hide();
 
     });
 
     });
 
   }
 
   }

Revision as of 14:26, 3 April 2015