Team:NYMU-Taipei/TopBar
From 2014.igem.org
(Difference between revisions)
m |
m |
||
Line 44: | Line 44: | ||
borderWidth: '0px', | borderWidth: '0px', | ||
color: '#696969' | color: '#696969' | ||
+ | }, 300, 'easeOutSine'); | ||
+ | }); | ||
+ | $('.navbt1') | ||
+ | .on('mouseover', function(){ | ||
+ | $('#obj2').css({display:inline,top:10,left:300,}); | ||
+ | $('#obj2').stop(true).animate({ | ||
+ | top:5, | ||
+ | left:250, | ||
+ | }, 300, 'easeOutSine'); | ||
+ | }) | ||
+ | .on('mouseout', function(){ | ||
+ | $('#obj2').stop(true).animate({ | ||
+ | display:none; | ||
}, 300, 'easeOutSine'); | }, 300, 'easeOutSine'); | ||
}); | }); |
Revision as of 11:32, 11 April 2014