403Webshell
Server IP : 87.98.154.146  /  Your IP : 216.73.216.165
Web Server : Apache
System : Linux webm004.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 : ohklomafyi ( 52085)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ohklomafyi/www/wp-content/plugins/portfolio-elementor/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ohklomafyi/www/wp-content/plugins/portfolio-elementor/assets/js/pwrgrids-custom-js.js
jQuery(window).on('load', function () {
    if ( jQuery( ".pwgd-post-grid-content" ).length ) {

        //Isotope Layout
        var $grid = jQuery('.pwgd-grid-content-isotope').isotope({
            //layoutMode: 'packery',
            layoutMode: 'masonry',
            itemSelector: '.pwgd-post-grid-item-wrapper'
        });
        $grid.imagesLoaded().progress( function() {
            jQuery('.pwgd-grid-content-equalheights').each(function(){          
                // Cache the highest
                var highestBox = 0;
                
                // Select and loop the elements you want to equalise
                jQuery('.pwgd-post-grid-item-wrapper', this).each(function(){
                
                    // If this box is higher than the cached highest then store it
                    if(jQuery(this).height() > highestBox) {
                        highestBox = jQuery(this).height(); 
                    }
                
                });  
                    
                // Set the height of all those children to whichever was highest 
                jQuery('.pwgd-post-grid-item-wrapper',this).height(highestBox);
                            
            }); 
            
            $grid.isotope('layout');

            
        });

        //Packery Layout
        /*var $packery = jQuery('.pwgd-grid-content-packery').isotope({
            layoutMode: 'packery',            
            itemSelector: '.grid-item-wrapper'
        });
        $packery.imagesLoaded().progress( function() {
            $packery.isotope('layout');
        });*/

        jQuery('.pwgd-posts-filter').on('click', 'button', function () {   
            jQuery('.pwgd-posts-filter button').removeClass('item-active');
            jQuery(this).addClass('item-active');
            var filterValue = jQuery(this).attr('data-filter');
            $grid.isotope({
                filter: filterValue
            });
            /*$packery.isotope({
                filter: filterValue
            });*/
        });

    }

});

Youez - 2016 - github.com/yon3zu
LinuXploit