View Full Version : facebook like button?

06-18-2012, 09:39 PM
hey, I've never used it before so i'm not sure what i'm doing tbh.
Here is the code I am dealing with at the minute

<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_GB/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-like" data-href="https://www.facebook.com/pages/soundtrack/106574229377037" data-send="true" data-layout="button_count" data-width="450" data-show-faces="false" data-font="arial"></div>


It's not displaying anything I just have a blank screen any ideas? Also i'm new to dreamweaver as well, each time I press live view with this script it seems to freeze then come back to life after 8 seconds or so :confused: