Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Nimble3

    (@nimble3)

    your URL please?

    Thread Starter bjssoftware

    (@bjssoftware)

    https://www.bjssoftware.com/portfolio/

    when you click on the image to zoom there is a facebook and twitter buttons.

    Thank you

    Plugin Author Nimble3

    (@nimble3)

    Edit https://www.bjssoftware.com/wp-content/plugins/nimble-portfolio/includes/scripts.js

    REPLACE

    jQuery("a[rel^='lightbox'], a[rel^='youtube'], a[rel^='fancybox']", ".nimble-portfolio ul li:not(.hidden)" ).prettyPhoto();

    WITH
    jQuery("a[rel^='lightbox'], a[rel^='youtube'], a[rel^='fancybox']", ".nimble-portfolio ul li:not(.hidden)" ).prettyPhoto(social_tools: '');

    AND REPLACE

    jQuery("a[rel^='lightbox'], a[rel^='youtube'], a[rel^='fancybox']").prettyPhoto();

    WITH

    jQuery("a[rel^='lightbox'], a[rel^='youtube'], a[rel^='fancybox']").prettyPhoto(social_tools: '');

    Kenahn

    (@kenahn)

    I tried this, and it just disables iframe and goes directly to the video source.

    Thread Starter bjssoftware

    (@bjssoftware)

    Sussed it. Remove the following from jquery.prettyPhoto.js. Worked perfectly. Hope this helps kenahn

    <div class=”twitter”>Tweet<script type=”text/javascript” src=”https://platform.twitter.com/widgets.js”></script></div><div class=”facebook”><iframe src=”//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23″ scrolling=”no” frameborder=”0″ style=”border:none; overflow:hidden; width:500px; height:23px;” allowTransparency=”true”></iframe></div>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘facebook/twitter lightbox buttons’ is closed to new replies.