Team:NYMU-Taipei/TopBar
From 2014.igem.org
(Difference between revisions)
m |
|||
Line 44: | Line 44: | ||
borderWidth: '0px', | borderWidth: '0px', | ||
color: '#696969' | color: '#696969' | ||
+ | }, 300, 'easeOutSine'); | ||
+ | }); | ||
+ | $('.navbt1') | ||
+ | .on('mouseover', function(){ | ||
+ | $('#obj1').stop(true).animate({ | ||
+ | top: 90px, | ||
+ | left:650px, | ||
+ | }, 300, 'easeOutSine'); | ||
+ | }) | ||
+ | .on('mouseout', function(){ | ||
+ | $('#obj1').stop(true).animate({ | ||
+ | top: 80px, | ||
+ | left:850px, | ||
}, 300, 'easeOutSine'); | }, 300, 'easeOutSine'); | ||
}); | }); | ||
Line 52: | Line 65: | ||
<li> | <li> | ||
<a> | <a> | ||
- | <div class="navbt" style="margin-top:1px;">synthetic biology</div> | + | <div class="navbt navbt1" style="margin-top:1px;">synthetic biology</div> |
</a> | </a> | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a><div class="navbt" style="margin-top:-10px;">NYMU-Taipei</div> | + | <a><div class="navbt navbt2" style="margin-top:-10px;">NYMU-Taipei</div> |
</a> | </a> | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a><div class="navbt" style="margin-top:20px;">News</div> | + | <a><div class="navbt navbt3" style="margin-top:20px;">News</div> |
</a> | </a> | ||
</li> | </li> | ||
</nav> | </nav> | ||
</html> | </html> |
Revision as of 11:14, 11 April 2014