Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #17005

    how can I add a facebook like button when an image is displayed on a lightbox ?

    like this http://www.veroulis.gr/facebook.jpg

    #93862

    Hey!

    Open up flashlight/js/avia.js and replace following code:

    elements.prettyPhoto({ 'social_tools':'','slideshow': 5000 });

    with:

    elements.prettyPhoto({ 'slideshow': 5000 });

    Best regards,

    Peter

    #93863

    ok appear the facebook icon who can put them under the control button as the image..

    and who can i remove the twitter icon ?

    thanks for help and best support!!

    #93864

    In this case replace:

    elements.prettyPhoto({ 'social_tools':'','slideshow': 5000 });

    with:

    elements.prettyPhoto({ 'social_tools':'<div class="pp_social"><div class="facebook"><iframe src="http://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></div>',
    'slideshow': 5000 });

    Unfortunately it’s not easily possible to change the location/position of the social icons…

    #93865

    thanks for help and one last question … why the box near the like button not seem whole ?

    as the image

    #93866

    Hey!

    Try to add following code to css/custom.css:

    .pp_social .facebook {
    width: 100px;
    }

    Regards,

    Peter

    #93867

    ok its done !!!!!!

    thanks for support!!!!!!

    #93868

    Hey!

    Glad that I could help you :)

    Best regards,

    Peter

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Adding a facebook like button on a lightbox ?’ is closed to new replies.