css sub menus

Availor

Thanks I will check out the templates

marathoner

You should only make your menu call once...not twice. This will return your complete menu structure for SEO purposes but allow you to style the menu with CSS. You'll want to use the HOVER attribute and toggle the display from none to either block or inline depending on your needs. Check the "All CSS 2" template in the ADDONS to better understand CSS menus.

Availor

Hello,

I'm trying to create dhtml-like menus using css.

This is the screenshot of how it works when I test this on my computer

The code used here is this;
     <ul id="pmenu">
        <li><a href="#nogo">top leve;</a>
            <ul>
              <li><a href="#nogo">Sub Level 1a</a></li>                 
            </ul>
        </li>
      </ul>


When I use the following code instead of the <a href="#">link</a> it doesn't work.

<ul id="pmenu">
        <li><?php show_menu(1,0,1); ?>
            <ul>
              <li><?php show_menu(1,1,1); ?></li>                 
            </ul>
        </li>
      </ul>


What am I doing wrong here?


[gelöscht durch Administrator]