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: fullScreenMenu.js
var $j = jQuery.noConflict(); $j( document ).ready( function() { "use strict"; // Full Screen header menu oceanwpFullScreenMenu(); } ); /* ============================================== FULL SCREEN MENU ============================================== */ function oceanwpFullScreenMenu() { "use strict" var $menuWrap = $j( '#site-header.full_screen-header #full-screen-menu' ), $menuBar = $j( '#site-header.full_screen-header .menu-bar' ), $customLogo = $j( '#site-logo.has-full-screen-logo' ); if ( $menuBar.length ) { $menuBar.on( 'click', function( e ) { e.preventDefault(); if ( ! $j( this ).hasClass( 'exit' ) ) { $j( this ).addClass( 'exit' ); $customLogo.addClass( 'opened' ); $menuWrap.addClass( 'active' ); $menuWrap.fadeIn( 200 ); setTimeout( function() { $j( 'html' ).css( 'overflow', 'hidden' ); }, 400); } else { $j( this ).removeClass( 'exit' ); $customLogo.removeClass( 'opened' ); $menuWrap.removeClass( 'active' ); $menuWrap.fadeOut( 200 ); setTimeout( function() { $j( 'html' ).css( 'overflow', 'visible' ); $j( '#full-screen-menu #site-navigation ul > li.dropdown' ).removeClass( 'open-sub' ); $j( '#full-screen-menu #site-navigation ul.sub-menu' ).slideUp( 200 ); }, 400); } } ); // Logic for open sub menus $j( '#full-screen-menu #site-navigation ul > li.dropdown > a' ).on( 'tap click', function ( e ) { e.preventDefault(); if ( $j( this ).closest( 'li.dropdown' ).find( '> ul.sub-menu' ).is( ':visible' ) ) { $j( this ).closest( 'li.dropdown' ).removeClass( 'open-sub' ); $j( this ).closest( 'li.dropdown' ).find( '> ul.sub-menu' ).slideUp( 200 ); } else { $j( this ).closest( 'li.dropdown' ).addClass( 'open-sub' ); $j( this ).closest( 'li.dropdown' ).find( '> ul.sub-menu' ).slideDown( 200 ); } return false; } ); } }
Upload File
Create Folder