X7ROOT File Manager
Current Path:
/home/okeydcqc/pointecgroup.com/wp-content/plugins/ocean-extra/assets/js
home
/
okeydcqc
/
pointecgroup.com
/
wp-content
/
plugins
/
ocean-extra
/
assets
/
js
/
ðŸ“
..
📄
.htaccess
(127 B)
📄
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: scrollTop.js
var $j = jQuery.noConflict(), $window = $j( window ); $j( document ).ready( function() { "use strict"; // Scroll top oceanwpScrollTop(); } ); /* ============================================== SCROLL TOP ============================================== */ function oceanwpScrollTop() { "use strict" var selectors = { scrollTop : '#scroll-top', topLink : 'a[href="#go-top"]', slashTopLink : 'body.home a[href="/#go-top"]' } $window.on( 'scroll', function() { if ( $j( this ).scrollTop() > 100 ) { $j( '#scroll-top' ).fadeIn(); } else { $j( '#scroll-top' ).fadeOut(); } }); $j.each( selectors, function( key, value ){ $j( value ).on( 'click', function(e){ e.preventDefault(); $j( 'html, body' ).animate( { scrollTop:0 }, 400 ); $j( this ).parent().removeClass( 'sfHover' ); }); }); }
Upload File
Create Folder