WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show_menu2: valid XHTML and CSS selectable menus
Lotus:
--- Quote from: brofield on January 05, 2009, 10:44:38 AM ---The multiple menu code is only barely tested because I really don't see the point in it.
--- End quote ---
Well, i have this menu of corporate and informative stuff. The corporate pages are home, contact, find us, etc. and the informative pages are what services the company do. Informative pages has children and corporate dont.
To separete these two kind i am using two menus so i can style them slightly diffrent making it more obvious what is what.
simmy2000:
hi..one question:
i need to add a symbol (like ">" or "-") before every voices of my menu.
the code is this:
--- Code: --- <div id="menu">
<?php show_menu2(1,SM2_ROOT, SM2_START) ?>
</div>
--- End code ---
but i don't be able to add this code portion..
can you help me?
now my menu is like that:
MENU1 MENU2 MENU3
and i would change it in
> MENU1 > MENU2 > MENU3
thanks!
ruebenwurzel:
Hello,
please read here:
http://code.jellycan.com/sm2test/
or here:
http://css.maxdesign.com.au/
You can add the brackets to the menu_call or you can style your list with css to use brackets.
Matthias
simmy2000:
thanks for your answer.. i was tried this example
--- Code: ---show_menu2(0, SM2_ROOT, SM2_START, SM2_ALL, ' | [a][menu_title]</a>', '', '', '', '[a][menu_title]</a>');
--- End code ---
but without success...
can you tell me at least if is the right way??
thanks!
BerndJM:
Hi,
if I understand your SM2 call right, you want to have a | only between the menu-points but no leading | before the first?
Your SM2 call isn't complete, you missed the last parameter
--- Code: ---show_menu2(0, SM2_ROOT, SM2_START, SM2_ALL, ' | [a][menu_title]</a>', '', '', '', '[a][menu_title]</a>', '');
--- End code ---
Regards Bernd
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version