We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16702 ☆ A M B ☆
    • 536 Posts
    Last Of The Romans Reply #1, 18 years ago
    Hello,

    i have strange problem with my WayFinder navigation.

    i call WF:
    [!Wayfinder? &startId=`[*lang*]` &rowTpl=`mh.RowTpl` &outerTpl=`mh.OuterTpl` &level=`1` &titleOfLinks=`longtitle` &outerClass=`menu`!]


    i have this css for menu:
    div#menu {
    		padding-left: 9px;
    		width:	760px;
    		text-decoration: none;
    		margin-bottom: 30px;
    
    }
    
    div#menu ul {
    		margin: 0;
    		padding: 0;
    		float: left;
    		font: bold 13px Arial;
    		width: 100%;
    		overflow: hidden;
    		margin-bottom: 1em;
    		border-width: 1px 0;
    		background: black url(../img/blockdefault.gif) center center repeat-x;
    }
    
    div#menu li{
    		display: inline;
    }
    
    div#menu li a {
    		float: left;
    		color: white;
    		padding: 9px 11px;
    		text-decoration: none;
    		border-right: 1px solid white;
    }
    
    div#menu li a:active {
    		color: #99CC33;
    		background: transparent url(../img/blockactive.gif) center center repeat-x;
    }
     
    div#menu li a:hover {
    		color: #99CC33;
    		background: transparent url(../img/blockactive.gif) center center repeat-x;
    }
    


    i have this XHTML for out:

    <div id="menu">
    <ul id="menu">
    <li><a href="/home/index.php?id=1" title="sdsdsd" >ssssssо</a></li>
    <li class="active"><a href="/home/index.php?id=2" title="ddddddddг" >5555555</a></li>
    <li class="last"><a href="/home/index.php?id=50" title="jkjkjk" >dsfsdf</a></li>
    </ul>
    </div>
    


    A:hover IS WORK, but ACTIVE S*X smiley somebody have ideas?

    Thanks,
    Kristalin
      palma non sine pulvere
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Are you sure that "a:active" is what you want? It looks from your output that you want "li.active a"
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 16702 ☆ A M B ☆
        • 536 Posts
        Last Of The Romans Reply #3, 18 years ago
        *BLUSH*

        2-3 days i work HIGH-motion and really make stupid mistakes.
        A vital necessity to 8-10h. sleep but i must work and finish this project smiley

        THANKS,
        Kristalin
          palma non sine pulvere
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Don’t feel bad; I do that sort of thing all the time without your excuse grin
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org