AnonSec Shell
Server IP : 144.76.79.100  /  Your IP : 216.73.216.103   [ Reverse IP ]
Web Server : Apache
System : Linux ch05.wehostwebserver.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User : razzlestore ( 1092)
PHP Version : 8.2.29
Disable Function : NONE
Domains : 343 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/cwd/wp-content/plugins/ocean-extra/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/self/cwd/wp-content/plugins/ocean-extra/assets/js/infiniteScroll.js
var $j 		= jQuery.noConflict(),
	$window = $j( window );

$window.on( 'load', function() {
	"use strict";
	if ( $j.fn.infinitescroll !== undefined && $j( 'div.infinite-scroll-nav' ).length ) {
		// Infinite scroll
		oceanwpInfiniteScrollInit();
	}
} );

/* ==============================================
INFINITE SCROLL
============================================== */
function oceanwpInfiniteScrollInit() {
	"use strict"

	// Get infinite scroll container
	var $container = $j( '#blog-entries' );

	// Start infinite sccroll
	$container.infinitescroll( {
		loading : {
			msg         : null,
			finishedMsg : null,
			msgText     : '<div class="infinite-scroll-loader"></div>',
		},
		navSelector  : 'div.infinite-scroll-nav',
		nextSelector : 'div.infinite-scroll-nav div.older-posts a',
		itemSelector : '.blog-entry',
	},

	// Callback function
	function( newElements ) {

		var $newElems = $j( newElements ).css( 'opacity', 0 );

		$newElems.imagesLoaded( function() {

			// Isotope
			if ( $container.hasClass( 'blog-masonry-grid' ) ) {
				$container.isotope( 'appended', $newElems );
				$newElems.css( 'opacity', 0 );
			}

			// Animate new Items
			$newElems.animate( {
				opacity : 1
			} );

			// Add trigger
			$container.trigger( 'oceanwpinfiniteScrollLoaded' );

			// Re-run functions
			if ( ! $j( 'body' ).hasClass( 'no-carousel' ) ) {
				oceanwpInitCarousel( $newElems );
			}

			if ( ! $j( 'body' ).hasClass( 'no-lightbox' ) ) {
				oceanwpInitLightbox( $newElems );
			}

			// Match heights
			if ( ! $j( 'body' ).hasClass( 'no-matchheight' ) ) {
				$j( '.blog-equal-heights .blog-entry-inner' ).matchHeight({ property: 'min-height' });
			}

		    // Gallery posts
		    if ( $j( '.gallery-format' ).parent( '.thumbnail' ) && $j( '.blog-masonry-grid' ).length ) {
				setTimeout( function() {
					$j( '.blog-masonry-grid' ).isotope( 'layout' );
				}, 600 + 1 );
			}

		} );

	} );

}

Anon7 - 2022
AnonSec Team