Difference between revisions of "Template:HSNU-TAIPEI/js/nav"
Line 19: | Line 19: | ||
if(event.pageY <= 20) { | if(event.pageY <= 20) { | ||
nav_bar.fadeIn(); | nav_bar.fadeIn(); | ||
− | + | nav_bar.mouseleave(function() { | |
− | nav_bar.fadeOut(); | + | this.fadeOut(); |
+ | }); | ||
} | } | ||
}); | }); | ||
+ | |||
</script> | </script> | ||
</html> | </html> |
Revision as of 13:56, 3 April 2015