Template:Team:KIT-Kyoto/navi

From 2014.igem.org

(Difference between revisions)
Line 17: Line 17:
.hover(
.hover(
function(e) {
function(e) {
-
$(this).find('a').eq(1).stop()
+
$(".navi-team").find('a').eq(1).stop()
.animate({width:$(this).find('img').width()}, {duration:300, easing:'easeOutExpo'});
.animate({width:$(this).find('img').width()}, {duration:300, easing:'easeOutExpo'});
},
},
function(e) {
function(e) {
-
$(this).find('a').eq(1).stop()
+
$(".navi-team").find('a').eq(1).stop()
.animate({width:0}, {duration:300, easing:'easeInCubic'});
.animate({width:0}, {duration:300, easing:'easeInCubic'});
}
}
);
);
</script>
</script>

Revision as of 08:19, 21 May 2014