Results 1 to 4 of 4

Thread: Smart Folding Tree Menu - Close one main folder when a new one is opened.

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

    Default Smart Folding Tree Menu - Close one main folder when a new one is opened.

    1) Script Title: Simple Tree Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

    3) Describe problem:
    I've found this question several times in the search, but they all seem to relate to an older version of this script.

    I'd like the script to close one folder when a new one is selected. So, for example, on a site I would like the "Bed and Bath" folder to close when the "Home Decor" is opened.

    My Java skills are very limited, so by trail and error I couldn't fix it.

    I've copied "ddtreemenu.flatten(treeid,"contact")" into the beginning of the ddtreemenu.createTree function, thinking that when the createTree function is called, first the ddtreemenu.flatten function would be executed and effectively collapsing the tree, before opening the new folder.

    But this doesn't work, so could anyone give me some pointers?

    Thx

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

    Default

    41 views but no reply

    kick

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

    Default

    kick

    Is there really nobody who can give me some hints??

  4. #4
    Join Date
    Aug 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    this tree menu seems to be use on your own scripts..i have seen no help in most of thread relating to this..
    so may be start editing and trying ownself

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
  •