Forums

NAVT module output is incorrect HTML (3 posts)

  1. Kletsr
    Member
    Posted 4 years ago #

    Hello,

    I've installed the NAVT module, but there is a problem with its output. The unordered lists are not nested correctly, what leads to incorrect HTML and impossibility to generate a hover/submenu.

    The lists should be nested correctly, like this:

    <ul id="navlist">
        <li id="active"><a href="#" id="current">Item one</a>
          <ul id="subnavlist">
            <li id="subactive"><a href="#" id="subcurrent">Subitem one</a></li>
            <li><a href="#">Subitem two</a></li>
    
            <li><a href="#">Subitem three</a></li>
            <li><a href="#">Subitem four</a></li>
          </ul>
        </li>
        <li><a href="#">Item two</a></li>
        <li><a href="#">Item three</a></li>
    
        <li><a href="#">Item four</a></li>
      </ul>

    but the output of the NAVT module is like this:

    <ul id="navlist">
        <li id="active"><a href="#" id="current">Item one</a></li>
    
          <ul id="subnavlist">
            <li id="subactive"><a href="#" id="subcurrent">Subitem one</a></li>
            <li><a href="#">Subitem two</a></li>
    
            <li><a href="#">Subitem three</a></li>
            <li><a href="#">Subitem four</a></li>
          </ul>
    
        <li><a href="#">Item two</a></li>
        <li><a href="#">Item three</a></li>
    
        <li><a href="#">Item four</a></li>
      </ul>

    as you can see, it's well... totally useless. Hard to believe that with a plugin/module that extended, no one tripped over its output.

    I understand that building a recursive function is hard, but can the author of this plugin have a looksy in his code and try to fix it? Thanks for any help!!!

    Jay.

  2. Gbellucci
    Member
    Posted 4 years ago #

    Fixed in the next release of the plugin - hopefully it will be out the week of Oct 15th 2007.

  3. Kletsr
    Member
    Posted 4 years ago #

    that'd be amazing! Thank you very much!!

Topic Closed

This topic has been closed to new replies.

About this Topic