We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9881
    • 15 Posts
    Hi

    First I tried to make a main navigation with a separated sub navigation, which has an Accordion Menu, with UltimateParent, but it didn’t work at all. Now I made another way.

    It works but the sub menu links do not work, you can click on them and nothing happens. I guess it is a problem of the wayfinder calls or the wayfinder chunks. I didn’t find out and tried all different ideas. Who can help me?

    URL: http://www.huntersparadise.ch

    Wayfinder-Call main Navi:
    [[Wayfinder?startId=`0` &outerClass=`navTop` &hereClass=`selected` &level=`1` &hideSubMenus=`true`]]


    Wayfinder-Call sub navi:
    [[Wayfinder? &startId=`[*id*]` &innerTpl=`innerTplAccordion` &parentRowTpl=`parentRowAccordion`]]


    Wayfinder-chunk innerTplAccordion:
    <ul class="[+wf.classes+] submenu">[+wf.wrapper+]</ul>


    Wayfinder-chunk parentRowAccordion:
    <li class="[+wf.classnames+]"><a class="submenuheader" id="menu-[+wf.docid+]" href="[~[+wf.docid+]~]">[+wf.title+]</a>[+wf.wrapper+]</li>


    I would appreciate any help, already lost hours...

    Greetings
    Flyfisherman
      • 32070
      • 87 Posts
      It really looks like more of a javascript issue - in the ddaccordian.js script that you’ve added. I looked quickly through your menu html and it looks fine. I don’t think wayfinder is the problem.

      I looked through the ddaccordian.js script as well. Didn’t notice anything jump out at me, but I didn’t have time to go entirely through the code either. I’d suggest checking there.

        Des
        webandflowdesign.com
        • 9881
        • 15 Posts
        the same javascript file works on another site without any harm....????
          • 32070
          • 87 Posts
          Is the other site using WayFinder? Can you forward the address of the other site for comparison?

            Des
            webandflowdesign.com
            • 12028
            • 152 Posts
            Your base href in the header are wrong - the generated output should be something like:
            <base href="http://www.huntersparadise.ch/">

            At the moment it’s:
            <base href="/">

            I hope that helps!
              - A small step for mankind, so why not take two...

              Working with web production, graphic design/workflow, photo and education - but are trying to get a life in between!