WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Show_menu2 (Dropdown)
  • Print
Pages: [1]   Go Down

Author Topic: Show_menu2 (Dropdown)  (Read 4101 times)

Rush200

  • Guest
Show_menu2 (Dropdown)
« on: December 13, 2008, 06:05:21 PM »
OK, little edit.
How to make menu like this ::
 
Structure ::

ET
 Firmast
  Ehitus
  Tervik lahendus

EN
 About business
  Building
   Solution

Menu needs to be disaplay::

Header :: ET EN

Menu ::

Firmast
 Ehitus
  Tervik lahendus

About busiiness
 Building
  Solution

So first menu level (Firmast/About business) needs just have main menus and all other (Building, Solution/Ehitus, Terviklahendus) dropdown submenu.

Best Reguards
Rush200
« Last Edit: December 13, 2008, 08:52:41 PM by Rush200 »
Logged

Offline marathoner

  • Posts: 495
Re: Show_menu2 (Dropdown)
« Reply #1 on: December 13, 2008, 09:57:13 PM »
Keep in mind that SM2 will simply generate the HTML output of the menu structure (check the SM2 documentation for the appropriate menu call to get what you are looking for).

The way that the output is displayed will be controlled by your template. You could use either javascript or CSS to create the drop down effect. Several templates already utilize one of these approaches so you might want to download several templates, take a look at how they are constructed along with their javascript or CSS, and then use that information to start modifying your template to achieve the desired effect.
Logged

Rush200

  • Guest
Re: Show_menu2 (Dropdown)
« Reply #2 on: December 13, 2008, 10:15:05 PM »
any examples?
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Show_menu2 (Dropdown)
« Reply #3 on: December 13, 2008, 10:34:10 PM »
The website of the developer..
..or just search this forum, it is filled with examples.

Ruud
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Rush200

  • Guest
Re: Show_menu2 (Dropdown)
« Reply #4 on: December 13, 2008, 10:51:28 PM »
Ok, let's look my code and so please maybe someone help me put this to show_menu2 . Im beginner with Show menu2 :/ 


PS! I have website with 4 languages

CODE ::
Code: [Select]
<div class="menu">
<ul id="nav">

        <li onmouseover="show_hide(0, '', 'show');" onmouseout="show_hide(0, '', 'hide');">
                            <a href="#">Example</a>
            <div class="submenu">
        <ul id="subMenu0" style="display: none;">
                <li><a href="#">Example</a></li>
        </ul>
         </div>
          </li>
</ul>
</div>

This code is my menu javascript. Now needs to put it show_menu2.
Early thanks a lot

Best Reguards
Rush
« Last Edit: December 13, 2008, 10:53:36 PM by Rush200 »
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Show_menu2 (Dropdown)
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2