Using Olark with jquery.prettyPhoto

When using Olark with the jQuery prettyPhoto plugin, your visitors may be unable to type in the chat box.  This is due to an issue where all keyboard input is captured by prettyPhoto.

To work around this, you can just add this to your prettyPhoto configuration:
 
 $(document).ready(function() {
    $("a[rel^='prettyPhoto']").prettyPhoto({
        changepicturecallback: function() {
            $pp_pic_holder.is = function() {};
        }
    });
});

This will make sure that prettyPhoto lets those keyboard inputs go free!
Last Updated: Mar 12, 2013
Customer service software powered by Desk.com.