nav with span.active #1

Closed
lionel-m opened this Issue Mar 4, 2012 · 0 comments

1 participant

@lionel-m

Hi,

I would like to use this great script with my CMS but the active link is a <span> and not an <a>. So, it doesn't work.

Example:

<nav class="mod_navigation nav-primary block">

    <a href="#skipNavigation6" class="invisible">Skip navigation</a>

    <h3>Sections:</h3>

    <ul class="level_1">
        <li class="active first"><span class="active first">Accueil</span></li>

        <li class="sibling"><a href="index.php/a-propos.html" title="A-propos" class="sibling">A-propos</a></li>
        <li class="sibling"><a href="index.php/portfolio.html" title="Portfolio" class="sibling">Portfolio</a></li>
        <li class="sibling last"><a href="index.php/contact.html" title="Contact" class="sibling last">Contact</a></li>
    </ul>

    <a id="skipNavigation6" class="invisible">&nbsp;</a>

</nav>

Is it possible that the script works in this case too ?

Thx

@lionel-m lionel-m closed this Dec 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment