WebsiteBaker 2.13.8 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
<!-- Navigation Level 2 (Drop-down menus) --> <div class="nav2"> <!-- Navigation item --> <ul> <?php show_menu2(1, SM2_ROOT, SM2_ALL,SM2_ALL,'<li>[a][menu_title] [if(class==menu-expand){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6><table><tr><td><![endif]--><ul>}] [if(class!=menu-expand){</a>}] [if(class!=menu-last){</li>}] [if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?> </ul> </div>
/*Drop-down menu*/.nav2 {white-space:nowrap /*IE hack*/; float:left; width:900px; border:none; background:rgb(225,225,225) url(./img/bg_head_bottom_nav.jpg) no-repeat; color:rgb(75,75,75); font-size:130%;} /*Color navigation bar normal mode*/.nav2 ul {list-style-type:none;}.nav2 ul li {float:left; z-index:auto !important /*Non-IE6*/; z-index:1000 /*IE6*/; border-right:solid 1px rgb(175,175,175);}.nav2 ul li a {float:none !important /*Non-IE6*/; float:left /*IE-6*/; display:block; height:3.1em; line-height:3.1em; padding:0 16px 0 16px; text-decoration:none; font-weight:bold; color: rgb(100,100,100);}.nav2 ul li ul {display:none; border:none;}/*Non-IE6 hovering*/.nav2 ul li:hover {position:relative;} /*Sylvain IE hack*/.nav2 ul li:hover a {background-color:rgb(210,210,210); text-decoration:none;} /*Color main cells hovering mode*/.nav2 ul li:hover ul {display:block; width:10.0em; position:absolute; z-index:999; top:3.0em; margin-top:0.1em; left:0;}.nav2 ul li:hover ul li a {white-space:normal; display:block; width:10.0em; height:auto; line-height:1.3em; margin-left:-1px; padding:4px 16px 4px 16px; border-left:solid 1px rgb(175,175,175); border-bottom: solid 1px rgb(175,175,175); background-color:rgb(237,237,237); font-weight:normal; color:rgb(50,50,50);} /*Color subcells normal mode*/.nav2 ul li:hover ul li a:hover {background-color:rgb(210,210,210); text-decoration:none;} /*Color subcells hovering mode*//*IE6 hovering*/.nav2 table {position:absolute; top:0; left:0; border-collapse:collapse;}.nav2 ul li a:hover {position:relative /*Sylvain IE hack*/; z-index:1000 /*Sylvain IE hack*/; background-color:rgb(210,210,210); text-decoration:none;} /*Color main cells hovering mode*/.nav2 ul li a:hover ul {display:block; width:10.0em; position:absolute; z-index:999; top:3.1em; t\op:3.0em; left:0; marg\in-top:0.1em;}.nav2 ul li a:hover ul li a {white-space:normal; display:block; w\idth:10.0em; height:1px; line-height:1.3em; padding:4px 16px 4px 16px; border-left:solid 1px rgb(175,175,175); border-bottom: solid 1px rgb(175,175,175); background-color:rgb(237,237,237); font-weight:normal; color:rgb(50,50,50);} /*Color subcells normal mode*/.nav2 ul li a:hover ul li a:hover {background-color:rgb(210,210,210); text-decoration:none;} /*Color subcells hovering mode*/
<!-- Navigation item --> <ul> <?php show_menu2(1, SM2_ROOT, SM2_ALL,SM2_ALL,'<li>[a][menu_title] [if(class==menu-expand){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}] [if(class!=menu-expand){</a>}] [if(class!=menu-last){</li>}] [if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?> </ul>
<?php show_menu2(1, SM2_ROOT, SM2_ALL, SM2_ALL|SM2_PRETTY, '<li [if(class==menu-current){id="menu-current"}]>[a][menu_title]</a>'); ?>
<!-- Navigation Level 2 (Drop-down menus) --> <div class="nav2"> <ul> <?php show_menu2(1, SM2_ROOT, SM2_ALL, SM2_ALL|SM2_PRETTY,'[li][a][menu_title] [if(class==menu-expand){<!--[if IE 7]></a><![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}] [if(class!=menu-expand){</a>}] [if(class!=menu-last){</li>}] [if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}] ','','','','',''); ?> </ul> </div>
I sent an e-mail once just stating that the template was also available for WB now, but got a reply with the message that he was not able to give me any support
<!-- A.3 HEADER BOTTOM --> <div class="header-bottom"> <!-- Navigation Level 2 (Drop-down menus) --> <div class="nav2"> <!-- Navigation item --> <ul> <li><a href="http://www.site.com" target="_top">Home </a> </li> <li><a href="http://www.site.com/pages/contact.php" target="_top">Contact</a> </li> <li><a href="http://www.site.com/pages/gastenboek.php" target="_top">Gastenboek</a> </li> <li><a href="http://www.site.com/pages/nieuws.php" target="_top">Nieuws <!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul> </li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]--><li><a href="http://www.site.coml/pages/nieuws/nieuwsbrieven.php" target="_top">Nieuwsbrieven </a> </li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]--> </ul> </div> </div>
<div class="header-bottom"> <!-- Navigation Level 2 (Drop-down menus) --> <div class="nav2"> <!-- Navigation item --> <ul> <?php show_menu2(1, SM2_ROOT, SM2_ALL,SM2_ALL,'<li>[a][menu_title] [if(class==menu-expand){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}] [if(class!=menu-expand){</a>}] [if(class!=menu-last){</li>}] [if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?> </ul> </div>
<?php show_menu2(0, SM2_ROOT, SM2_ALL, SM2_ALL|SM2_CURRTREE, '<li><a href="[url]">[menu_title]</a>','</li>','<ul>','</ul>'); ?>
Using the original code looks good in the frontend in every browser but when you try to validiate the page you see what the issue is.
<?php show_menu2(1, SM2_ROOT, SM2_ALL,SM2_ALL,'<li>[a][menu_title][if(class==menu-expand){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}][if(class!=menu-expand){</a>}][if(class!=menu-last){</li>}][if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?>
The file you uploaded is invalid