WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: daydreamer on August 05, 2008, 01:58:19 PM
-
Hi I am wanting to add 2 drop down menus
1 Horizontal
1 Vertical
Or just add drop down to main menu without using show menu2
Could anyone please help thanks
-
I deleted your other, near identical Post. Please do not doublepost.
cheers
Klaus
-
Have you read the documentation? This is a good place to start:
http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/multiple-menus.php (http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/multiple-menus.php)
Many of the existing templates use "drop down" menus...have you looked at some of these to get an idea of how they work? Also, check out any of the sites discussing CSS menus such as the following which has both horizontal and vertical:
http://www.cssplay.co.uk/menus/final_drop.html (http://www.cssplay.co.uk/menus/final_drop.html)
-
Many thanks never knew there was all that
Thanks for the link to CSSplay but how do you download the menus?
-
CSS menus are two parts...the XHTML (that WB will generate based on your template) and the CSS that you use to style the menus. You won't really download any menus. You'll need to study the XHTML and the CSS used to style the menus. This will allow you to modify it as needed.
Again, download a variety of the existing templates, install them in WB, and study the menu calls that they use,the CSS that they use, and the XHTML that the menu calls generate. This will give you a better idea of how things work.
-
So if the menu needs all this code here: http://www.cssplay.co.uk/menus/css/dropdown.txt
how do you go about adding that to: <?php show_menu(1,0,-1,false, "\n</li>", '<ul id="header_menu" class="menu">'); ?>
Hope you can understand what i mean
-
Probably best to use show_menu2. Do a search of this forum for more info and a link to the developers website with lots of documentation and examples.
Did you already look at the existing templates with drop downs to see their menu call?