javascript - Why isn't this script initiating? -
i'm trying install social sharebar jquery script. reason though, it's not loading , can't seem find cause of this.
in head of site, have jquery loaded along jquery script states so:
<script type="text/javascript" src="http://www.moviepostersdb.com/js/jquery.min.js"></script> <script type="text/javascript" src="http://www.moviepostersdb.com/js/jquery.social.share.2.2.js"></script> the script installation asks put scripting head:
<script type='text/javascript'> $(document).ready(function($){ $('#social-share').dcsocialshare(); size: 'horizontal', location: 'bottom', offsetalign: 0, offsetlocation: 0, buttons: 'twitter,facebook,linkedin,digg,stumbleupon,delicious,pinterest,xing,buffer,print,email', floater: false, autoclose: true }); }); </script> that's implemented.
before body closing tag, installation asks implement following code... again, i've done this:
<div id="social-share"></div> despite this, reason... social sidebar isn't showing on site. can see may wrong?
www.moviepostersdb.com <--- url of website.
it looks have syntax error.
$('#social-share').dcsocialshare(); ^-- closed here i think meant:
$(function(){ $('#social-share').dcsocialshare({ size: 'horizontal', location: 'bottom', offsetalign: 0, offsetlocation: 0, buttons: 'twitter,facebook,linkedin,digg,stumbleupon,delicious,pinterest,xing,buffer,print,email', floater: false, autoclose: true }); });
Comments
Post a Comment