Hey there,

I've ben whacking a slightly modified chunk of code for FB's "Like" button in all my website footers (.shtml pages) and it works a treat but when I put it in a custom island in UBB 7.5.3 it only seems to grab the first bit of the URL:-(

Here's the code:
<script type="text/javascript">
document.write ('<iframe src="http://www.facebook.com/plugins/like.php?href='+window.location+'&layout=standard&show_faces=true&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px"><\/iframe>');
</script>

ANy input gratefully accepted!

Thx

Willzter

Last edited by Willzter; 06/12/2010 1:50 AM.