• 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.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘NAVT module output is incorrect HTML’ is closed to new replies.