geno/wp-content/plugins/woocommerce/assets/js/prettyPhoto/jquery.prettyPhoto.init.js
2024-02-01 11:54:18 +00:00

15 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);