Team:Groningen/Templates/facebook

From 2013.igem.org

(Difference between revisions)
 
(16 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<!-- Dit is de code voor de plugin, dit zie je dus ergens op de site, de maximale 'width' is 292 -->
 
-
<div class="fb-like-box" data-href="https://www.facebook.com/Igem2013Groningen" data-width="250" data-show-faces="false" data-stream="true" data-show-border="true" data-header="true"></div>
 
-
<!-- Eind facebook code -->
+
<!-- For some more info about this script: http://www.codehandling.com/2013/02/facio-20-infinite-facebook-fanpage.html-->
-
<!-- Facebook code, De onderstaande code kan je ergens plaatsen, maakt niet uit waar DIT IS NIET DE LIKE BOX-->
+
<!-- CSS of this plugin, this piece of code changes the color of the account -->
-
<div id="fb-root" ></div>
+
<style media="screen" type="text/css">
-
<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/all.js#xfbml=1";
+
-
  fjs.parentNode.insertBefore(js, fjs);
+
-
}(document, 'script', 'facebook-jssdk'));</script>
+
-
<!-- Eind facebook code -->
+
#facio span{
 +
    color:black !important;
 +
}
 +
 
 +
</style>
 +
 
 +
<!-- end of CSS of this plugin -->
 +
 
 +
  <head>
 +
   
 +
 +
 +
<script type="text/javascript">
 +
 +
// var pageUrl = "https://www.facebook.com/Igem2013Groningen";
 +
var pageUrl = "https://www.facebook.com/Igem2013Groningen";
 +
 +
var facioWidgetWidth = 200;
 +
var facioWidgetHeight = 400;
 +
        border = none;
 +
 +
function displayFacio() {
 +
$('#facio').empty().append(' loading ...');
 +
pageUrl=$('#pageUrl').val();
 +
//alert(blogUrl);
 +
 +
onLoadFacio();
 +
}
 +
 
 +
 +
</script>
 +
 +
</head>
 +
  <body>
 +
 +
 +
<div id="facio">
 +
</div>
 +
 +
 +
 
 +
<script src="https://2013.igem.org/Team:Groningen/Scripts/jqueryfacebook?action=raw&ctype=text/javascript"></script>
 +
 
 +
  </body>
</html>
</html>

Latest revision as of 11:54, 13 September 2013