social_tools
  • Howdy, pretty plugin!

    I was around "socials tools" and trying to implement linkedin button share for so long.........

    But I noticed the Facebook Button there does not even work... so bad! There is an open bracket { there on the bottom of popup next to the FB button ...

    I will wait for a fix from you, I could not... :-(


    Then I hope I will be able to put the button Share from LinkedIn.

    At least the button Twitter is working.

    But no chance in rewritting:

    < script type="text/javascript" charset="utf-8">

    // PrettyPhoto
    jQuery(document).ready(function(){
    jQuery("a[rel^='prettyPhoto']").prettyPhoto({

    //Wrote here the social_tools in the file jquery.prettyPhoto.js
    social_tools: '<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>



    ',

    changepicturecallback: function(){ //called when a click happens on photos
    //IN.init(); //LinkedIn button init ... but no success

    //FB.init(); // Tried the Facebook HTML5 buttons ... but no success

    //could be useful but not...
    /* jQuery('body').find('script[type="unparsed-IN/Share"]').each(function(){
    jQuery(this).attr('type', 'IN/Share');
    IN.parse(document);
    //you can also use getElementById('id') in place of document here
    });
    */

    },
    callback: function(){ } //, social_tools: ''

    });
    });

    < /script>



    So if you'd like to see the code and may be help with it ... not working for a LinkedIn button added ... I mean button LinkedIn loads and render only once on the first click after page load, then no more rendering of this button on clicking on other photos.

    That's it!

    Thanks, warm regards,
    Ricky
  • Hello Ricky,

    I'm sorry but i can't help you. But you may help me :)
    I dont even manage to make social tools appear, i opened a discussion dated of february, 9th.
    Please could you help me?
    Thank you

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter