WebsiteBaker 2.13.9 R24 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<?php show_menu(1, 0, -1, true, '<li class="[menu_title]"><span[class]>[a][menu_title] [/a]</span>'); ?>
ul#mainlevel-nav li.Sitemap a { background : url(../images_blue/map.gif); background-repeat: no-repeat;}
ul#mainlevel-nav li.Our School a { background : url(../images_blue/school.gif); background-repeat: no-repeat;}
ul#mainlevel-nav li.Our_School a { background : url(../images_blue/school.gif); background-repeat: no-repeat;}
show_menu(1, 0, 1, true, '<li class="[PAGE_ID]"><span[class]>[a][menu_title] [/a]</span>');
<li class="[PAGE_ID]">
show_menu(1, 0, 1, true, '<li class="'.PAGE_ID.'"><span[class]>[a][menu_title] [/a]</span>');
FORMAT STRINGS==============The following tags may be included in the format strings for $aItemOpen and $aMenuOpen and will be replaced with the appropriate text.[a] <a> tag (no class): '<a href="[url]" target="[target]">'[ac] <a> tag including class: '<a href="[url]" target="[target]" class="[class]">' <li> tag including class: '<li class="[class]">'[ul] <ul> tag including class: '<ul class="[class]">'[class] List of classes for that page[menu_title] Menu title text (HTML entity escaped unless SM2_NOESCAPE flag is used)[page_title] Page title text (HTML entity escaped unless SM2_NOESCAPE flag is used)[url] Page URL for the <a> tag[target] Page target for the <a> tag[page_id] Page ID of the current menu item[parent] Page ID of the parent menu item[level] Page level, the same number as is used for the "menu-N" CSS tag.[sib] Current menu sibling number[sibCount] Total number of siblings in this menu[if] Conditional test (see section CONDITIONAL FORMATTING)The following tags are only available when the SM2_ALLINFO flag is used.[description] Page description[keywords] Page keywords