%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/projetos/spanish.ongrace.com/wp-content/plugins/gallery-videos/JS/
Upload File :
Create Path :
Current File : /var/www/projetos/spanish.ongrace.com/wp-content/plugins/gallery-videos/JS/script.js

jQuery(document).ready(function($){
	if (jQuery().quicksand) {
		// Clone applications to get a second collection
		var $data = $(".totalsoft-gv-lvg-area").clone();
		//NOTE: Only filter on the main portfolio page, not on the subcategory pages
		$('.totalsoft-gv-lvg-categ li').click(function(e) {
			$(".filter li").removeClass("active");
			// Use the last category class as the category to filter by. This means that multiple categories are not supported (yet)
			var filterClass=$(this).attr('class').split(' ').slice(-1)[0];
			if (filterClass == 'all') {
				var $filteredData = $data.find('.totalsoft-gv-lvg-item2');
			} else {
				var $filteredData = $data.find('.totalsoft-gv-lvg-item2[data-type=' + filterClass + ']');
			}
			$(".totalsoft-gv-lvg-area").quicksand($filteredData, {
				duration: 600,
				adjustHeight: 'auto'
			}, function () {
				lightboxPhoto();
			});
			$(this).addClass("active");
			return false;
		});
	}//if quicksand
 });
	if(jQuery().prettyPhoto) {
		lightboxPhoto(); 
	}
function lightboxPhoto() {
		jQuery("a[rel^='prettyPhoto']").prettyPhoto({
			animationSpeed:'fast',
			slideshow:5000,
			theme:'light_rounded',
			show_title:false,
			overlay_gallery: false
		});
	}

Zerion Mini Shell 1.0