We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36447
    • 98 Posts
    I have a content page in evo consisting of a long list of links/text that I’d like to expand/collapse under various headings.

    So instead of scrolling a long page like this:

    Useful Links
    Anthropology
    Anthropological Association
    The American Anthropological Association’s website

    Society for the Anthropology of Consciousness
    The study of consciousness and its application in contemporary issues

    Society for Humanistic Anthroplogy
    The study of anthropology as it pertains to influencing the human world

    Anthrozoology

    Wikipedia Anthrozoology
    The study of human animal interactions and their impacts

    Alliance for Wild Ethics
    Ecological deep reflections

    Kerulos Center
    Promoting the recognition of animals as sentient beings...

    I’d like it to appear like this:

    Useful Links
    Anthropology+

    Anthrozoology+

    That way a viewer clicks "+" to expand each heading in the page (then clicks "-" to collapse a heading)

    Thus, this is like a menu but it uses both a resource title AND the content of that resource.

    Is it possible to use wayfinder to construct such a page?

    Here’s my resource tree:

    Useful Links (parent)
    Anthropology (child)
    Anthrozoology (child)
    etc.
      • 3749
      • 24,544 Posts
      I’m not sure about this, but I think the EZfaq snippet might do this for you. It should be pretty easy to find out since all the content is contained in an unpublished resource.

      If not, you could look at the code to see how JS expansion and contraction works.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 36447
        • 98 Posts
        Thanks, Bob, I’ll give it a try.

        Edit 01-20-2011: worked great! example posted at http://modxcms.com/forums/index.php/topic,22664.100.html