| Server IP : 87.98.154.146 / Your IP : 216.73.216.101 Web Server : Apache System : Linux webm005.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : bsiadvisil ( 110003) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/bsiadvisil/www/components/com_spsimpleportfolio/assets/js/ |
Upload File : |
/**
* @package SP Simple Portfolio
*
* @copyright Copyright (C) 2010 - 2018 JoomShaper. All rights reserved.
* @license GNU General Public License version 2 or later.
*/
jQuery(function($) {
var $container = $('.sp-simpleportfolio-items');
$(window).load(function() {
var $sizer = $container.find('.shuffle__sizer');
$container.shuffle({
itemSelector: '.sp-simpleportfolio-item',
sequentialFadeDelay: 150,
sizer: $sizer
});
});
// Filters
$('.sp-simpleportfolio-filter li a').on('click', function(event){
event.preventDefault();
var $self = $(this);
var $this = $(this).parent();
if($this.hasClass('active')) {
return;
}
$self.closest('ul').children().removeClass('active');
$self.parent().addClass('active');
var $local = $self.closest('.sp-simpleportfolio').children('.sp-simpleportfolio-items');
$local.shuffle( 'shuffle', $this.data('group') );
});
});