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

16 lines
254 B
JavaScript

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