WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Collapsing Categories] Expand sub category list without click on the archive

[Plugin: Collapsing Categories] Expand sub category list without click on the archive

Viewing 1 replies (of 1 total)
  • The plugin doesn’t have that option. If you want that option you will have to hack the plugin yourself by editing the file collapsFunctions.js

    In that file the function addExpandCollapse have to be changed to:

    function addExpandCollapse(id, expandSym, collapseSym, accordion) {
      jQuery('#' + id).on('mouseover', '.expand', function() {
        if (accordion==1) {
          var theDiv = jQuery(this).parent().parent().find('span.collapse').parent().find('div');
          jQuery(theDiv).hide('normal');
          jQuery(this).parent().parent().find('span.collapse').removeClass('collapse').addClass('expand');
          createCookie(theDiv.attr('id'), 0, 7);
        }
        jQuery('#' + id + ' .expand .sym').html(expandSym);
        expandCat(this, expandSym, collapseSym);
        return false;
      });
      jQuery('#' + id).on('click', '.collapse', function() {
        collapseCat(this, expandSym, collapseSym);
        return false;
      });
    }
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Collapsing Categories] Expand sub category list without click on the archive’ is closed to new replies.