Announcement

Collapse
No announcement yet.

Showing sub-sections and sub-sub-sections in body

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Showing sub-sections and sub-sub-sections in body

    Just to set the scope of this question - I am talking about the sections lists in the body of the page, not the section list in box on the left.

    Currently, when I click on one of my top level sections (labelled level 1 in the diagram) it only displays that sections sub-sections. If I then click on the sub-section it displays that sub-sections sub-sections (labelled level 2).

    Can I get it so that level 1 displays the sub-sections and sub-sub-sections?
    Attached Files
    John

    #2
    Only with some tricky recursive JavaScript using the Act_section_tree.js file (that's automatically created if you're using the YahooSections and sets a structure called section_tree). Look at that file to see its structure. You'd have to detect the page you're currently in, and then locate the corresponding entry in section_tree, then display the child entries.

    This isn't trivial and isn't something I can help with further.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment

    Working...
    X