WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: snark on March 19, 2009, 12:35:22 AM

Title: menu prefix question
Post by: snark on March 19, 2009, 12:35:22 AM
Is it possible to define a character as menu prefix

for instance if I want ยป before each meu item


Telling me that it should me added to the pagename is no answer
Title: Re: menu prefix question
Post by: Stefek on March 19, 2009, 01:01:42 AM
Hello.

Yes, tis is possible using show_menu2.

Please read the sm2 docu.

You will need to add this into your sm2 call:
Code: [Select]
$aItemOpen      = '[li]<a href="[url]">&raquo; [menu_title]</a>',

Regards,
Stefek
Title: Re: menu prefix question
Post by: marathoner on March 19, 2009, 01:26:38 AM
You could also simply style the <li> bullet to use that character with you CSS. Here's an example:
http://www.alistapart.com/articles/taminglists/ (http://www.alistapart.com/articles/taminglists/)