| Server IP : 212.183.175.188 / Your IP : 216.73.216.82 Web Server : nginx/1.30.4 System : Linux duemilacom6.interac.it 5.10.0-28-amd64 #1 SMP Debian 5.10.209-2 (2024-01-31) x86_64 User : cvevolpi ( 10022) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/cvevolpi.it/httpdocs/tmp/js_composer/assets/lib/vc_image_zoom/ |
Upload File : |
/*!
* WPBakery Page Builder v6.0.0 (https://wpbakery.com)
* Copyright 2011-2020 Michael M, WPBakery
* License: Commercial. More details: http://go.wpbakery.com/licensing
*/
// jscs:disable
// jshint ignore: start
!function($){"use strict";$.fn.vcImageZoom=function(){return this.each(function(){var $this=$(this),src=$this.data("vcZoom");$this.removeAttr("data-vc-zoom").wrap('<div class="vc-zoom-wrapper"></div>').parent().zoom({duration:500,url:src,onZoomIn:function(){$this.width()>$(this).width()&&$this.trigger("zoom.destroy").attr("data-vc-zoom","").unwrap().vcImageZoom()}})}),this},"function"!=typeof window.vc_image_zoom&&(window.vc_image_zoom=function(model_id){var selector="[data-vc-zoom]";void 0!==model_id&&(selector='[data-model-id="'+model_id+'"] '+selector),$(selector).vcImageZoom()}),$(document).ready(function(){window.vc_iframe||vc_image_zoom()})}(jQuery);