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