Team:Linkoping Sweden/menu

From 2014.igem.org

(Difference between revisions)
Line 94: Line 94:
}
}
#fbapp {
#fbapp {
-
  display:none;
 
   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="fbapp">
+
<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="250"
+
data-width="300"
-
data-height="400"
+
data-height="500"
data-colorscheme="light"
data-colorscheme="light"
data-show-faces="false"
data-show-faces="false"
Line 333: Line 332:
     }
     }
   }
   }
-
</script>
 
-
 
-
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
 
</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];
+
  var js, fjs = d.getElementsByTagName(s)[0];
-
  if (d.getElementById(id)) return;
+
  if (d.getElementById(id)) return;
-
  js = d.createElement(s); js.id = id;
+
  js = d.createElement(s); js.id = id;
-
  js.src = "http://connect.facebook.net/en_US/sdk.js#xfbml=1&appId=526253074141879&version=v2.0";
+
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=526253074141879&version=v2.0";
-
  fjs.parentNode.insertBefore(js, fjs);
+
  fjs.parentNode.insertBefore(js, fjs);
-
}(document, 'script', 'facebook-jssdk'));
+
}(document, 'script', 'facebook-jssdk'));</script>
-
</script>
+
<script>
<script>
Line 357: Line 352:
});
});
$(document).ready(function(){
$(document).ready(function(){
-
div.mouseover(function(){
+
$('#fbapp').mouseover(function(){
   $('#fbapp').fadeIn(100);
   $('#fbapp').fadeIn(100);
}).mouseout(function(){
}).mouseout(function(){

Revision as of 09:07, 17 July 2014