Difference between revisions of "Template:HSNU-TAIPEI/js/nav"
Line 21: | Line 21: | ||
if(flag === true) { | if(flag === true) { | ||
nav_bar.fadeIn(); | nav_bar.fadeIn(); | ||
+ | flag = false; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
}); | }); | ||
+ | nav_bar.mouseleave(function() { | ||
+ | $(this).fadeOut(); | ||
+ | flag = true; | ||
+ | }); | ||
+ | |||
Revision as of 14:45, 3 April 2015