Forum:Facebook banner code integration

Hi,

I made a Facebook page for my starting french project, Guild Wars 2 Wiki. Now i want to be able to put a Facebook banner on the wiki main page. I'm using the official Facebook code for this : Guild Wars 2 Wiki | Faites également la promotion de votre page  I've pasted it on this template page. It's misbehaving because the wiki software dont want people to use some of the HTML attributes (target maybe).

So, i think it might be better to use JavaScript to insert it in the page. But, i dont know how to convert that HTML bulk into a JS string or something. So i need help from people who are better than me with JavaScript.

Thanks to all. — TulipVorlax 13:14, June 10, 2010 (UTC)
 * With my change to that template, use the following JS: $(".facebook-banner").html('Guild Wars 2 Wiki | Faites également la promotion de votre page '); -- 14:16, June 10, 2010 (UTC)


 * OKAY! It was just to put it in single quotes; i always forget about this.
 * The same way i could add a Piwik tracking code into the page to get visits statistics but i wont do it because it could overload my host server. — TulipVorlax 14:55, June 10, 2010 (UTC)
 * You only have to use single quotes with that because the HTML contains double quotes. You could also go through and change all the double quotes to single quotes or escape all the double quotes, but just using single quotes on the outside is the easiest here. -- 15:00, June 10, 2010 (UTC)
 * Thanks.
 * You can look at the main page of the wiki, it's in place now.
 * I will try to style it better like maybe centering it in it's column, but later... — TulipVorlax 15:02, June 10, 2010 (UTC)