WebsiteBaker Support (2.8.x) > Templates, Menus & Design
css sub menus
(1/1)
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;
--- Code: --- <ul id="pmenu">
<li><a href="#nogo">top leve;</a>
<ul>
<li><a href="#nogo">Sub Level 1a</a></li>
</ul>
</li>
</ul>
--- End code ---
When I use the following code instead of the <a href="#">link</a> it doesn't work.
--- Code: ---<ul id="pmenu">
<li><?php show_menu(1,0,1); ?>
<ul>
<li><?php show_menu(1,1,1); ?></li>
</ul>
</li>
</ul>
--- End code ---
What am I doing wrong here?
[gelöscht durch Administrator]
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:
Thanks I will check out the templates
Navigation
[0] Message Index
Go to full version