Team:UCLondon/Templates/Navigationv2
From 2012e.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
<ul class="menu links"> | <ul class="menu links"> | ||
- | <li class="hov"><a class="nothing" href="#" title="Contact Us"><img src="http://db.tt/Zw3GxxwW" /></a></li> | + | <li class="hov"><a class="nothing" href="#" title="Contact Us"><img src="http://db.tt/Zw3GxxwW" height="30" /></a></li> |
- | <li class="hov"><a href="https://igem.org/Main_Page" title="iGEM"><img src="https://static.igem.org/mediawiki/2011/d/de/IGEM_basic_Logo_stylized.png" /></a></li> | + | <li class="hov"><a href="https://igem.org/Main_Page" title="iGEM"><img src="https://static.igem.org/mediawiki/2011/d/de/IGEM_basic_Logo_stylized.png" height="30" /></a></li> |
</ul> | </ul> | ||
Line 162: | Line 162: | ||
- | + | // .links img { height:30 px; } | |
Line 187: | Line 187: | ||
$('.hov').mouseenter( function() { | $('.hov').mouseenter( function() { | ||
$(this).children().children('img').animate({ | $(this).children().children('img').animate({ | ||
- | height:40 | + | height:40 |
- | + | ||
- | + | ||
}, 100 ); | }, 100 ); | ||
}).mouseleave(function(){ | }).mouseleave(function(){ | ||
$(this).children().children('img').animate({ | $(this).children().children('img').animate({ | ||
- | height: | + | height:30 |
- | + | ||
}, 100 ); | }, 100 ); | ||
}); | }); |
Revision as of 00:07, 21 September 2012