Team:Groningen/Templates/facebook
From 2013.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
<!-- Eind facebook code --> | <!-- Eind facebook code --> | ||
</html> | </html> | ||
+ | |||
+ | |||
+ | <!-- Facebook code, De onderstaande code kan je ergens plaatsen, maakt niet uit waar DIT IS NIET DE LIKE BOX--> | ||
+ | |||
+ | <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 = 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 --> |
Revision as of 12:51, 17 July 2013
<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>