Team:Linkoping Sweden/menu
From 2014.igem.org
(Difference between revisions)
Line 94: | Line 94: | ||
} | } | ||
#fbapp { | #fbapp { | ||
- | |||
width:250px; | width:250px; | ||
height:auto; | height:auto; | ||
Line 292: | Line 291: | ||
<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="fbbapp" style="width:200px;height:200px"> |
<div class="fb-like-box" | <div class="fb-like-box" | ||
data-href="https://www.facebook.com/LiuIgem" | data-href="https://www.facebook.com/LiuIgem" | ||
- | data-width=" | + | data-width="300" |
- | data-height=" | + | data-height="500" |
data-colorscheme="light" | data-colorscheme="light" | ||
data-show-faces="false" | data-show-faces="false" | ||
Line 333: | Line 332: | ||
} | } | ||
} | } | ||
- | |||
- | |||
- | |||
</script> | </script> | ||
<div id="fb-root"></div> | <div id="fb-root"></div> | ||
<script>(function(d, s, id) { | <script>(function(d, s, id) { | ||
- | + | var js, fjs = d.getElementsByTagName(s)[0]; | |
- | + | if (d.getElementById(id)) return; | |
- | + | js = d.createElement(s); js.id = id; | |
- | + | js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=526253074141879&version=v2.0"; | |
- | + | fjs.parentNode.insertBefore(js, fjs); | |
- | + | }(document, 'script', 'facebook-jssdk'));</script> | |
- | </script> | + | |
<script> | <script> | ||
Line 357: | Line 352: | ||
}); | }); | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | + | $('#fbapp').mouseover(function(){ | |
$('#fbapp').fadeIn(100); | $('#fbapp').fadeIn(100); | ||
}).mouseout(function(){ | }).mouseout(function(){ |
Revision as of 09:07, 17 July 2014