Team:NYMU-Taipei/TopBar
From 2014.igem.org
(Difference between revisions)
Line 32: | Line 32: | ||
$( document ).ready(function() { | $( document ).ready(function() { | ||
$('.navbt') | $('.navbt') | ||
- | . | + | .on('mouseover', function(){ |
$(this).stop(true).animate({ | $(this).stop(true).animate({ | ||
borderWidth: '12px', | borderWidth: '12px', | ||
Line 38: | Line 38: | ||
}, 300, 'easeOutSine'); | }, 300, 'easeOutSine'); | ||
}) | }) | ||
- | . | + | .on('mouseout', function(){ |
$(this).stop(true).animate({ | $(this).stop(true).animate({ | ||
borderWidth: '0px', | borderWidth: '0px', |
Revision as of 08:16, 11 April 2014
Template:Team:NYMU-Taipei/jquery-easing.js