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

24 lines
411 B
JavaScript
Raw Normal View History

(function($) {
$(function() {
// Lightbox
$("a.zoom").prettyPhoto({
2013-11-18 13:00:56 +00:00
hook: 'data-rel',
social_tools: false,
2013-02-04 14:36:23 +00:00
theme: 'pp_woocommerce',
horizontal_padding: 20,
2013-09-16 14:24:42 +00:00
opacity: 0.8,
deeplinking: false
});
2013-11-18 13:00:56 +00:00
$("a[data-rel^='prettyPhoto']").prettyPhoto({
hook: 'data-rel',
social_tools: false,
2013-01-31 14:15:50 +00:00
theme: 'pp_woocommerce',
horizontal_padding: 20,
2013-09-16 14:24:42 +00:00
opacity: 0.8,
deeplinking: false
});
});
})(jQuery);