X7ROOT File Manager
Current Path:
/home/okeydcqc/okeyanueyiagu.com/wp-content/plugins/ocean-extra/assets/js
home
/
okeydcqc
/
okeyanueyiagu.com
/
wp-content
/
plugins
/
ocean-extra
/
assets
/
js
/
ðŸ“
..
📄
customSelect.js
(402 B)
📄
dropDownSearch.js
(1.53 KB)
📄
fitvids.js
(384 B)
📄
fixedFooter.js
(1.08 KB)
📄
fullScreenMenu.js
(2.1 KB)
📄
headerReplaceSearch.js
(3.17 KB)
📄
headerSearchForm.js
(829 B)
📄
infiniteScroll.js
(1.95 KB)
📄
isotope.js
(899 B)
📄
lightbox.js
(2.39 KB)
📄
matchHeight.js
(554 B)
📄
megaMenu.js
(3.01 KB)
📄
navNoClick.js
(414 B)
📄
oceanwp-plugin-install.js
(2.29 KB)
📄
overlaySearch.js
(1.36 KB)
📄
scrollEffect.js
(2.54 KB)
📄
scrollTop.js
(875 B)
📄
sidr.js
(3.8 KB)
📄
slick.js
(2.04 KB)
📄
superfish.js
(530 B)
ðŸ“
woo
Editing: 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 ); } } ); } ); }
Upload File
Create Folder