WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: daydreamer on August 05, 2008, 01:58:19 PM

Title: How do I add 2 Drop Down Menus
Post 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
Title: Re: How do I add 2 Drop Down Menus
Post by: kweitzel on August 05, 2008, 02:38:30 PM
I deleted your other, near identical Post. Please do not doublepost.

cheers

Klaus
Title: Re: How do I add 2 Drop Down Menus
Post by: marathoner on August 05, 2008, 02:56:10 PM
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)
Title: Re: How do I add 2 Drop Down Menus
Post by: daydreamer on August 05, 2008, 03:32:50 PM
Many thanks never knew there was all that
Thanks for the link to CSSplay but how do you download the menus?

Title: Re: How do I add 2 Drop Down Menus
Post by: marathoner on August 06, 2008, 03:26:55 AM
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.
Title: Re: How do I add 2 Drop Down Menus
Post by: daydreamer on August 06, 2008, 01:20:30 PM
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
Title: Re: How do I add 2 Drop Down Menus
Post by: marathoner on August 06, 2008, 04:17:03 PM
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?