Show_menu2 (Dropdown)

Rush200

#5
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 ::

<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

Ruud

The website of the developer..
..or just search this forum, it is filled with examples.

Ruud
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

Rush200


marathoner

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.

Rush200

#1
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