Results 1 to 1 of 1

Thread: Collapse Submenu in "Bullet List Accordion Menu with nested levels"

  1. #1
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Collapse Submenu in "Bullet List Accordion Menu with nested levels"

    1) Script Title:
    Bullet List Accordion Menu with nested levels

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...enu-bullet.htm
    (at the bottom, the second example)

    3) Describe problem:
    I want to collapse the sublevel:

    Menu Gallery
    .....Blue Color
    .....Green Color
    .....Orange Color
    .....Red Color
    .....Brown Color

    When I press a main category:

    CSS LIBRARY, CSS DRIVE...

    If I put:

    onopenclose:function(header, index, state, isuseractivated){
    if (state=="block" && isuseractivated==true){
    ddaccordion.collapseall('subexpandable') {
    }
    }

    It works! But in my case, i don't want the animation for hide submenu, only hide. Any idea for this?

    EDIT:

    Solved with:

    onopenclose:function(header, index, state, isuseractivated){
    ddaccordion.collapseall('subexpandable');
    }

    Last edited by FeKuLa; 09-08-2008 at 11:36 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •