woocommerce/assets/js/prettyPhoto/jquery.prettyPhoto.init.js

21 lines
381 B
JavaScript

(function($) {
$(document).ready(function() {
// Lightbox
$("a.zoom").prettyPhoto({
social_tools: false,
theme: 'pp_woocommerce',
horizontal_padding: 20,
opacity: 0.8,
deeplinking: false
});
$("a[rel^='prettyPhoto']").prettyPhoto({
social_tools: false,
theme: 'pp_woocommerce',
horizontal_padding: 20,
opacity: 0.8,
deeplinking: false
});
});
})(jQuery);