Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3017
    James Young
    Participant

    In responsive-lightbox/js/front.js

    There is a strange block of code:
    social_tools: (rlArgs.social === '1' ? '<div class="pp_social"><div class="twitter">Tweet<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><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>' : ''),

    apparently accidentally pasted into the prettyphoto “functions” (it is not indented).

    Might it be that some intended code was obliterated through some accident? The plug in doesn’t work at all in Firefox, works partially in Opera, Chrome and IE9 and nearly fully functions in Safari? Simply commenting out the strange code (above) had no effect.

    BTW, this was unchanged by the recent update.

    #3019
    Bartosz
    Keymaster

    There’s nothing strange in it. We’re just passing values to fire prettyphoto – this part is for basic integration with social media using iframe.

    If it doesn’t work on your site please post a link to it, we’ll take a look.

    #3058
    James Young
    Participant

    I’ve tracked the (mis)behavior to some kind of jquery interaction in the raindrops theme I am using. I’ve tried a couple of other WP themes and there is no problem. In Firefox the expected listeners don’t get set. In the others (Chrome, IE, Opera), the listeners do get set, but something interferes with the execution of the prettyPhoto script.

    #3069
    Bartosz
    Keymaster

    So there must be something wrnog with jQuery scripts generated by the theme you mention.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.