The Elder Scrolls Forum - ESO, Skyrim, Oblivion, Morrowind & GDR

Tes forum: Pagina Facebook., Seguite il tes forum anche su Facebook!

« Older   Newer »
  Share  
Liort
view post Posted on 4/1/2012, 14:50 by: Liort




Leggendo in giro dicono di usare il codice XFBML e cliccando su di esso mi escono 3 codici:

CITAZIONE
Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
<div id="fb-root">
<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/it_IT/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


Add an XML namespace to the <html> tag of your document. This is necessary for XFBML to work in earlier versions of Internet Explorer.
<html xmlns:fb="http://ogp.me/ns/fb#">


Place the code for your plugin wherever you want the plugin to appear on your page.
<fb:like href="https://www.facebook.com/pages/The-Elder-Scrolls-Forum-Skyrim-Forum-Oblivion-Forum-Morrowind-Forum/304868569555417?sk=wall" send="true" width="450" show_faces="true">

 
Top
41 replies since 4/1/2012, 13:45   1262 views
  Share