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: dropDownSearch.js
var $j = jQuery.noConflict(); $j( document ).ready( function() { "use strict"; // Drop down search oceanwpDropDownSearch(); } ); /* ============================================== DROP DOWN SEARCH ============================================== */ function oceanwpDropDownSearch() { "use strict" // Return if is the not this search style if ( 'drop_down' != oceanwpLocalize.menuSearchStyle ) { return; } var $searchDropdownToggle = $j( 'a.search-dropdown-toggle' ), $searchDropdownForm = $j( '#searchform-dropdown' ); $searchDropdownToggle.click( function( event ) { // Display search form $searchDropdownForm.toggleClass( 'show' ); // Active menu item $j( this ).parent( 'li' ).toggleClass( 'active' ); // Focus var $transitionDuration = $searchDropdownForm.css( 'transition-duration' ); $transitionDuration = $transitionDuration.replace( 's', '' ) * 1000; if ( $transitionDuration ) { setTimeout( function() { $searchDropdownForm.find( 'input[type="search"]' ).focus(); }, $transitionDuration ); } // Hide other things $j( 'div#current-shop-items-dropdown' ).removeClass( 'show' ); $j( 'li.wcmenucart-toggle-drop_down' ).removeClass( 'active' ); // Return false return false; } ); // Close on doc click $j( document ).on( 'click', function( event ) { if ( ! $j( event.target ).closest( '#searchform-dropdown.show' ).length ) { $searchDropdownToggle.parent( 'li' ).removeClass( 'active' ); $searchDropdownForm.removeClass( 'show' ); } } ); }
Upload File
Create Folder