PluginProbe
Catch Breadcrumb / 1.1
Catch Breadcrumb v1.1
trunk 1.0.0 1.0.1 1.0.2 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6 1.7 1.8 1.9 2.0 2.1 2.2 All 29 releases
catch-breadcrumb / admin / js / catch-breadcrumb-admin.js

catch-breadcrumb-admin.js in Catch Breadcrumb 1.1, at admin/js/catch-breadcrumb-admin.js

24 lines 749 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 jQuery(function($) {
2
3 // Tabs
4 $('.catchp_widget_settings .nav-tab-wrapper a').on('click', function(e){
5 e.preventDefault();
6
7 if( !$(this).hasClass('ui-state-active') ){
8 $('.nav-tab').removeClass('nav-tab-active');
9 $('.wpcatchtab').removeClass('active').fadeOut(0);
10
11 $(this).addClass('nav-tab-active');
12
13 var anchorAttr = $(this).attr('href');
14
15 $(anchorAttr).addClass('active').fadeOut(0).fadeIn(500);
16 }
17
18 });
19
20 // jQuery Match Height init for sidebar spots
21 $(document).ready(function() {
22 $('.catchp-sidebar-spot .sidebar-spot-inner, .col-2 .catchp-lists li, .col-3 .catchp-lists li').matchHeight();
23 });
24 });