JQuery Accordion Menu Widget - Version 3.1

Version Description

  • Fixed: Auto-close feature with multiple menus
Download this release

Release Info

Developer remix4
Plugin Icon wp plugin JQuery Accordion Menu Widget
Version 3.1
Comparing to
See all releases

Code changes from version 3.0 to 3.1

dcwp_jquery_accordion.php CHANGED
@@ -5,7 +5,7 @@
5
  Tags: jquery, dropdown, menu, vertical accordion, animated, css, navigation, accordion
6
  Description: Creates vertical accordion menus from any Wordpress custom menu using jQuery. Add menus using either widgets or shortcodes. Features include - handles multiple levels, saved state using cookies and option of selecting "click" or "hover" events for triggering the menu.
7
  Author: Lee Chestnutt
8
- Version: 3.0
9
  Author URI: http://www.designchemical.com
10
  */
11
 
@@ -24,7 +24,7 @@ class dc_jqaccordion {
24
  wp_enqueue_script( 'jquery' );
25
  wp_enqueue_script( 'jqueryhoverintent', dc_jqaccordion::get_plugin_directory() . '/js/jquery.hoverIntent.minified.js', array('jquery') );
26
  wp_enqueue_script( 'jquerycookie', dc_jqaccordion::get_plugin_directory() . '/js/jquery.cookie.js', array('jquery') );
27
- wp_enqueue_script( 'dcjqaccordion', dc_jqaccordion::get_plugin_directory() . '/js/jquery.dcjqaccordion.2.8.js', array('jquery') );
28
  // Shortcodes
29
  add_shortcode( 'dcwp-jquery-accordion', 'dcwp_dc_jqaccordion_shortcode' );
30
  }
5
  Tags: jquery, dropdown, menu, vertical accordion, animated, css, navigation, accordion
6
  Description: Creates vertical accordion menus from any Wordpress custom menu using jQuery. Add menus using either widgets or shortcodes. Features include - handles multiple levels, saved state using cookies and option of selecting "click" or "hover" events for triggering the menu.
7
  Author: Lee Chestnutt
8
+ Version: 3.1
9
  Author URI: http://www.designchemical.com
10
  */
11
 
24
  wp_enqueue_script( 'jquery' );
25
  wp_enqueue_script( 'jqueryhoverintent', dc_jqaccordion::get_plugin_directory() . '/js/jquery.hoverIntent.minified.js', array('jquery') );
26
  wp_enqueue_script( 'jquerycookie', dc_jqaccordion::get_plugin_directory() . '/js/jquery.cookie.js', array('jquery') );
27
+ wp_enqueue_script( 'dcjqaccordion', dc_jqaccordion::get_plugin_directory() . '/js/jquery.dcjqaccordion.2.9.js', array('jquery') );
28
  // Shortcodes
29
  add_shortcode( 'dcwp-jquery-accordion', 'dcwp_dc_jqaccordion_shortcode' );
30
  }
js/{jquery.dcjqaccordion.2.8.js → jquery.dcjqaccordion.2.9.js} RENAMED
@@ -169,7 +169,7 @@
169
 
170
  // Auto-Close Open Menu Items
171
  function autoCloseAccordion($parentsLi, $parentsUl){
172
- $objSub.not($parentsUl).slideUp(defaults.speed);
173
  // Reset active links
174
  $('a',obj).removeClass(classActive);
175
  $('> a',$parentsLi).addClass(classActive);
169
 
170
  // Auto-Close Open Menu Items
171
  function autoCloseAccordion($parentsLi, $parentsUl){
172
+ $('ul',obj).not($parentsUl).slideUp(defaults.speed);
173
  // Reset active links
174
  $('a',obj).removeClass(classActive);
175
  $('> a',$parentsLi).addClass(classActive);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.designchemical.com/blog/index.php/wordpress-plugins/word
4
  Tags: jquery, dropdown, menu, vertical accordion, animated, css, navigation, widget
5
  Requires at least: 3.0
6
  Tested up to: 3.13
7
- Stable tag: 3.0
8
 
9
  Creates vertical accordion menus from any Wordpress custom menu using jQuery. Add menus using either widgets or shortcodes.
10
 
@@ -16,7 +16,7 @@ The plugin has several parameters that can be configured to help cutomise the ve
16
 
17
  = Widget Options for Menu =
18
 
19
- The plugin has several parameters that can be configured to cutomise the vertical accordion menu:
20
 
21
  * Click/Hover - Selects the event type that will trigger the menu to open/close
22
  * Auto-close open menus - If checked this will allow only one menu item to be expanded at any time. Clicking on a new menu item will automatically close the previous one.
@@ -86,6 +86,9 @@ Another likely cause is due to other non-functioning plugins, which may have err
86
 
87
  == Changelog ==
88
 
 
 
 
89
  = 3.0 =
90
  * Added: Ability to add menus using shortcodes
91
 
4
  Tags: jquery, dropdown, menu, vertical accordion, animated, css, navigation, widget
5
  Requires at least: 3.0
6
  Tested up to: 3.13
7
+ Stable tag: 3.1
8
 
9
  Creates vertical accordion menus from any Wordpress custom menu using jQuery. Add menus using either widgets or shortcodes.
10
 
16
 
17
  = Widget Options for Menu =
18
 
19
+ The plugin has several parameters that can be configured to help cutomise the vertical accordion menu:
20
 
21
  * Click/Hover - Selects the event type that will trigger the menu to open/close
22
  * Auto-close open menus - If checked this will allow only one menu item to be expanded at any time. Clicking on a new menu item will automatically close the previous one.
86
 
87
  == Changelog ==
88
 
89
+ = 3.1 =
90
+ * Fixed: Auto-close feature with multiple menus
91
+
92
  = 3.0 =
93
  * Added: Ability to add menus using shortcodes
94