Team:University College London/templates/facebook

From 2012.igem.org

(Difference between revisions)
(Created page with "<html> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id =...")
Line 1: Line 1:
-
<html>
 
<div id="fb-root"></div>
<div id="fb-root"></div>
<script>(function(d, s, id) {
<script>(function(d, s, id) {
Line 8: Line 7:
   fjs.parentNode.insertBefore(js, fjs);
   fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
}(document, 'script', 'facebook-jssdk'));</script>
-
</html>
 

Revision as of 14:55, 18 June 2012

<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>