Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/anfangola.com/wp-content/plugins/gallery-images-ape/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/anfangola.com/wp-content/plugins/gallery-images-ape/assets/js/script.js
/*  
 * Ape Gallery			
 * Author:            	Wp Gallery Ape 
 * Author URI:        	https://wpape.net/
 * License:           	GPL-2.0+
 */

(function($){

	$('.wpape_gallery').on( "click", '.wpape-lightbox.mfp-link', function (event) {
		event.preventDefault();
		window.location.href = $(this).data('mfp-src');
	} );  

	$('.wpape_gallery').each( function(){
		
		var galleryID =$(this).data('options');

		var galleryBlock = $('#Block_'+galleryID);
		galleryBlock.css('display', 'block');
		
		var objectOptions = window[ galleryID ];
		var realOptions = $.extend({ },objectOptions);
		var gallery = $(this).collagePlus( realOptions );   
		var Gallery_Image = '0';

		if( realOptions.touch == 1 && (typeof $("body").swipe === "function") ) { 
			$("body").swipe({
		        swipeLeft: function(event, direction, distance, duration, fingerCount){ $(".mfp-arrow-left").magnificPopup("prev"); },
		        swipeRight: function(){ $(".mfp-arrow-right").magnificPopup("next"); },
		        threshold: 50
		    });
		    $("body").swipe("disable");
		}
		if( apeGalleryDelay != undefined && apeGalleryDelay > 0 ){
			setTimeout(function(){
				Gallery_Image = 1;
				gallery.eveMB('resize'); 
			}, apeGalleryDelay);
		}
	});
})( window.apeQuer || window.jQuery );

ZeroDay Forums Mini