文件操作 - image-slider.min.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/themes/E17/common/js/elements/image-slider.min.js
编辑文件内容
(function($){$.fn.wSlider=function(){return this.each(function(){var $this=$(this),$frame=$this.find('.w-slider-h'),$slider=$this.find('.royalSlider'),$options=$this.find('.w-slider-json'),options=$options[0].onclick()||{};if($this.data('sliderInit')==1){return} $this.data('sliderInit',1);$us.getScript($us.templateDirectoryUri+'/common/js/vendor/royalslider.js',function(){$options.remove();if(!$.fn.royalSlider){return} if($this.parent().hasClass('w-post-elm')){options.imageScaleMode='fill'} options.usePreloader=!1;$slider.royalSlider(options);var slider=$slider.data('royalSlider');if(options.fullscreen&&options.fullscreen.enabled){var rsEnterFullscreen=function(){$slider.appendTo($('body'));slider.ev.off('rsEnterFullscreen',rsEnterFullscreen);slider.ev.on('rsExitFullscreen',rsExitFullscreen);slider.updateSliderSize()};slider.ev.on('rsEnterFullscreen',rsEnterFullscreen);var rsExitFullscreen=function(){$slider.prependTo($frame);slider.ev.off('rsExitFullscreen',rsExitFullscreen);slider.ev.on('rsEnterFullscreen',rsEnterFullscreen)}} slider.ev.on('rsAfterContentSet',function(){slider.slides.forEach(function(slide){$(slide.content.find('img')[0]).attr('alt',slide.caption.attr('data-alt'))})});$us.$canvas.on('contentChange',function(){$slider.parent().imagesLoaded(function(){slider.updateSliderSize()})})})})};$(function(){jQuery('.w-slider').wSlider()})})(jQuery)
修改文件时间
将文件时间修改为当前时间的前一年
删除文件