SM2: Submenu only visible after clicking topmenu: HOW??

crnogorac081

Hi mate, send me the link for site on pm, so maybe I can quick take a look for make a fast solution with JQ
Web developer

Boudi

yo!

Thnx for responding. The website is almost live so I simply don't have the time for testing new jquery things out.
The only thing for now is editing the SM2 so that the submenu's are only visible after clicking the topmenu.

Your solution though ends up in only showing the toplevel and/or 1 level deep but still the submenu appears on hover.

Boudi
...:: Bake the Unbakable ::...

crnogorac081

#2
Hi mate,

take a look at this tutorial:

http://www.noupe.com/tutorial/drop-down-menu-jquery-css.html

cheers

Edit:
there is even more simple solution for this if it is not dropdown menu, for top menu, you use       show_menu2(0,SM2_ROOT, SM2_CURR ......)    and then where you want seccond level to appear, show_menu2(0,SM2_ROOT+1, SM2_CURR  or sm_all for all levels ......)
Web developer

Boudi

#1
Ok..ok...I feel dumb. I checked the forum, I check the documentation but no way I came up with an answer so here's the deal:

I've got a horizontal SM2 menu:




<?php show_menu2(1SM2_ROOTSM2_ALLSM2_ALLfalse"\n</li>"falsefalsefalse'<ul id="header_menu" class="menu">'); ?>




When hovering this menu the submenu appears. My client wants the submenu only to appear after clicking the topmenu.

No doubt that there is a simple answer but I couldn't find it.

Solution would be belpfull. :)

Boudi

...:: Bake the Unbakable ::...