Team:NYMU-Taipei/TopBar

From 2014.igem.org

(Difference between revisions)
m
Line 32: Line 32:
$( document ).ready(function() {
$( document ).ready(function() {
     $('.navbt')
     $('.navbt')
-
         .on('mouseover', function(){
+
         .bind('mouseenter', function(){
             $(this).stop(true).animate({
             $(this).stop(true).animate({
                 borderWidth: '12px',
                 borderWidth: '12px',
Line 38: Line 38:
             }, 300, 'easeOutSine');
             }, 300, 'easeOutSine');
         })
         })
-
         .on('mouseout', function(){
+
         .bind('mouseleave', function(){
             $(this).stop(true).animate({
             $(this).stop(true).animate({
                 borderWidth: '0px',
                 borderWidth: '0px',

Revision as of 07:56, 11 April 2014