Team:Linkoping Sweden/menu
From 2014.igem.org
(Difference between revisions)
Line 100: | Line 100: | ||
background: rgb(255,255,255); | background: rgb(255,255,255); | ||
z-index:100; | z-index:100; | ||
+ | margin-left:-149px; | ||
} | } | ||
#twitapp{ | #twitapp{ | ||
Line 292: | Line 293: | ||
<a href="http://www.facebook.com/LiuIgem" target="_blank"> | <a href="http://www.facebook.com/LiuIgem" target="_blank"> | ||
<img src="https://static.igem.org/mediawiki/2013/4/4e/PB_LogoFacebook.gif" height="30px"/> | <img src="https://static.igem.org/mediawiki/2013/4/4e/PB_LogoFacebook.gif" height="30px"/> | ||
- | <div id=" | + | <div id="fbapp"> |
<div class="fb-like-box" | <div class="fb-like-box" | ||
data-href="https://www.facebook.com/LiuIgem" | data-href="https://www.facebook.com/LiuIgem" | ||
Line 346: | Line 347: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $('#fbnoticon').mouseover(function(){ | + | $('div #fbnoticon').mouseover(function(){ |
- | $('#fbapp').fadeIn(100); | + | div = $('#fbapp'); |
+ | div.fadeIn(100); | ||
}).mouseout(function(){ | }).mouseout(function(){ | ||
- | + | div.fadeOut(100); | |
}); | }); | ||
}); | }); | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $('#fbapp').mouseover(function(){ | + | $('div #fbapp').mouseover(function(){ |
- | $('#fbapp').fadeIn(100); | + | div = $('#fbapp'); |
+ | div.fadeIn(100); | ||
}).mouseout(function(){ | }).mouseout(function(){ | ||
- | + | div.fadeOut(100); | |
}); | }); | ||
}); | }); | ||
</script> | </script> |
Revision as of 09:14, 17 July 2014