HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Apache24/htdocs/wp-content/plugins/gallery-portfolio/JS/script.js
jQuery.noConflict();
jQuery(document).ready(function($){							
	function lightboxPhoto() {
		jQuery("a[rel^='prettyPhoto']").prettyPhoto({
			animationSpeed:'fast',
			slideshow:5000,
			theme:'light_rounded',
			show_title:false,
			overlay_gallery: false
		});
	}
	if(jQuery().prettyPhoto) 
	{
		lightboxPhoto(); 
	}
	if (jQuery().quicksand) 
	{
		var $data = $(".totalsoft-portfolio-area").clone();
		$('.totalsoft-portfolio-categ li').click(function(e) {
			$(".filter li").removeClass("active");	
			var filterClass=$(this).attr('class').split(' ').slice(-1)[0];
			if (filterClass == 'all') {
				var $filteredData = $data.find('.totalsoft-portfolio-item2');
			} else {
				var $filteredData = $data.find('.totalsoft-portfolio-item2[data-type=' + filterClass + ']');
			}
			$(".totalsoft-portfolio-area").quicksand($filteredData, {
				duration: 600,
				adjustHeight: 'auto'
			}, function () {
				lightboxPhoto();
			});		
			$(this).addClass("active"); 
			return false;
		});
	}
});