Menu component

Menu dropdowns documentation

Usage

<header>
    <div class="navbar navbar-default" role="navigation">
        <div class="navbar navbar-main">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <i class="fa fa-bars"></i>
                    </button>
                    <a class="navbar-brand" href="index.html"><img src="logo.png" alt="logo" /></a>
                </div>
                <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                    <ul class="nav navbar-nav mega-menu-fullwidth">
                        <li class="dropdown">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#">Icon list <span class="caret"></span></a>
                            <div class="mega-menu dropdown-menu multi-level row bg-menu" style="background-image:url(image.jpg)">
                                <div class="col">
                                    <ul class="fa-ul text-s">
                                        <li><i class="fa-li fa fa-cloud"></i> <a href="#">Winter collection</a></li>
                                        <li><i class="fa-li fa fa-sun-o"></i> <a href="#">Summer collection</a></li>
                                        <li><i class="fa-li fa fa-glass"></i> <a href="#">Sunglasses</a></li>
                                    </ul>
                                </div>
                            </div>
                        </li>
                        <li class="dropdown">
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#">Icon list mega <span class="caret"></span></a>
                            <div class="mega-menu dropdown-menu multi-level row">
                                <div class="col">
                                    <h5>Clouthing</h5>
                                    <ul class="fa-ul text-s">
                                        <li><i class="fa-li fa fa-cloud"></i> <a href="#">Winter collection</a></li>
                                        <li><i class="fa-li fa fa-sun-o"></i> <a href="#">Summer collection</a></li>
                                        <li><i class="fa-li fa fa-eye"></i> <a href="#">Sunglasses</a></li>
                                    </ul>
                                </div>
                                <div class="col">
                                    <h5>Garden & outdoor</h5>
                                    <ul class="fa-ul text-s">
                                        <li><i class="fa-li fa fa-tree"></i> <a href="#">Winter collection</a></li>
                                        <li><i class="fa-li fa fa-thumbs-o-up"></i> <a href="#">Summer collection</a></li>
                                        <li><i class="fa-li fa fa-pagelines"></i> <a href="#">Sunglasses</a></li>
                                    </ul>
                                </div>
                                <div class="col">
                                    <h5>Home</h5>
                                    <ul class="fa-ul text-s">
                                        <li><i class="fa-li fa fa-home"></i> <a href="#">Accessories</a></li>
                                        <li><i class="fa-li fa fa-gamepad"></i> <a href="#">Games</a></li>
                                        <li><i class="fa-li fa fa-bed"></i> <a href="#">Beds</a></li>
                                    </ul>
                                    <hr class="space xs" />
                                    <h5>Food & drinks</h5>
                                    <ul class="fa-ul text-s">
                                        <li><i class="fa-li fa fa-coffee"></i> <a href="#">Winter collection</a></li>
                                        <li><i class="fa-li fa fa-beer"></i> <a href="#">Summer collection</a></li>
                                        <li><i class="fa-li fa fa-glass"></i> <a href="#">Sunglasses</a></li>
                                    </ul>
                                </div>
                            </div>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Dropdown <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Action</a></li>
                                <li><a href="#">Another action</a></li>
                                <li><a href="#">Something else here</a></li>
                            </ul>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Dropdown multi level<i class="caret"></i></a>
                            <ul class="dropdown-menu multi-level">
                                <li><a href="#">Action</a></li>
                                <li class="divider"></li>
                                <li class="dropdown dropdown-submenu">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a>
                                    <ul class="dropdown-menu">
                                        <li><a href="#">Single item</a></li>
                                        <li><a href="#">Single item</a></li>
                                        <li class="dropdown dropdown-submenu">
                                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a>
                                            <ul class="dropdown-menu">
                                                <li><a href="#">Single item</a></li>
                                                <li><a href="#">Single item</a></li>
                                            </ul>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</header>
<header>
    ...
    <ul class="nav navbar-nav">
        ...
        <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">Icon list <span class="caret"></span></a>
            <div class="mega-menu dropdown-menu multi-level row bg-menu" style="background-image:url(image.jpg)">
                <div class="col">
                    <ul class="fa-ul text-s">
                        <li><i class="fa-li fa fa-cloud"></i> <a href="#">Winter collection</a></li>
                        <li><i class="fa-li fa fa-sun-o"></i> <a href="#">Summer collection</a></li>
                        <li><i class="fa-li fa fa-glass"></i> <a href="#">Sunglasses</a></li>
                    </ul>
                </div>
            </div>
         </li>
         ...
    </ul>
    ...
</header>
<header>
    ...
    <ul class="nav navbar-nav">
        ...
        <li class="dropdown mega-dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">Icon list mega <span class="caret"></span></a>
            <div class="mega-menu dropdown-menu multi-level row">
                <div class="col">
                    <h5>Clouthing</h5>
                    <ul class="fa-ul text-s">
                        <li><i class="fa-li fa fa-cloud"></i> <a href="#">Winter collection</a></li>
                        <li><i class="fa-li fa fa-sun-o"></i> <a href="#">Summer collection</a></li>
                        <li><i class="fa-li fa fa-eye"></i> <a href="#">Sunglasses</a></li>
                    </ul>
                </div>
                <div class="col">
                    <h5>Garden & outdoor</h5>
                    <ul class="fa-ul text-s">
                        <li><i class="fa-li fa fa-tree"></i> <a href="#">Winter collection</a></li>
                        <li><i class="fa-li fa fa-thumbs-o-up"></i> <a href="#">Summer collection</a></li>
                        <li><i class="fa-li fa fa-pagelines"></i> <a href="#">Sunglasses</a></li>
                    </ul>
                </div>
                <div class="col">
                    <h5>Home</h5>
                    <ul class="fa-ul text-s">
                        <li><i class="fa-li fa fa-home"></i> <a href="#">Accessories</a></li>
                        <li><i class="fa-li fa fa-gamepad"></i> <a href="#">Games</a></li>
                        <li><i class="fa-li fa fa-bed"></i> <a href="#">Beds</a></li>
                    </ul>
                    <hr class="space xs" />
                    <h5>Food & drinks</h5>
                    <ul class="fa-ul text-s">
                        <li><i class="fa-li fa fa-coffee"></i> <a href="#">Winter collection</a></li>
                        <li><i class="fa-li fa fa-beer"></i> <a href="#">Summer collection</a></li>
                        <li><i class="fa-li fa fa-glass"></i> <a href="#">Sunglasses</a></li>
                    </ul>
                </div>
            </div>
        </li>
         ...
    </ul>
    ...
</header>
<header>
    ...
    <ul class="nav navbar-nav">
       ...
       <li class="dropdown mega-dropdown mega-tabs">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">Tabs mega dropdown <span class="caret"></span></a>
            <div class="mega-menu dropdown-menu multi-level row">
                <div class="tab-box">
                    <ul class="nav nav-tabs">
                        <li class="active"><a href="#">Home</a></li>
                        <li><a href="#">Profile</a></li>
                        <li><a href="#">Messages</a></li>
                    </ul>
                    <div class="panel active">
                        <div class="col">
                            <h5>Clouthing</h5>
                            <ul class="fa-ul text-s">
                                <li><i class="fa-li fa fa-cloud"></i> <a href="#">Winter collection</a></li>
                                <li><i class="fa-li fa fa-sun-o"></i> <a href="#">Summer collection</a></li>
                            </ul>
                        </div>
                        <div class="col">
                            <h5>Garden & outdoor</h5>
                            <ul class="fa-ul text-s">
                                <li><i class="fa-li fa fa-globe"></i> <a href="#">Accossories</a></li>
                                <li><i class="fa-li fa fa-recycle"></i> <a href="#">Others</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="panel">
                        <div class="col">
                            ...
                        </div>
                    </div>
                    <div class="panel">
                        <div class="col">
                            ...
                        </div>
                    </div>
                </div>
            </div>
        </li>
        ...
    </ul>
    ...
</header>
<header>
    ...
    <ul class="nav navbar-nav">
        ...
        <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Dropdown <span class="caret"></span></a>
            <ul class="dropdown-menu">
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li><a href="#">Something else here</a></li>
            </ul>
        </li>
         ...
    </ul>
    ...
</header>
<header>
    ...
    <ul class="nav navbar-nav">
        ...
        <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">Dropdown multi level<i class="caret"></i></a>
            <ul class="dropdown-menu multi-level">
                <li><a href="#">Action</a></li>
                <li class="divider"></li>
                <li class="dropdown dropdown-submenu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a>
                    <ul class="dropdown-menu">
                        <li><a href="#">Single item</a></li>
                        <li><a href="#">Single item</a></li>
                        <li class="dropdown dropdown-submenu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Single item</a></li>
                                <li><a href="#">Single item</a></li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>
        </li>
         ...
    </ul>
    ...
</header>

Main settings

Name Type Description
Icons list Mixed Icons list is a feature of components. Complete documenteation here
Mega menu background image CSS To set a background image add class bg-menu and style background-image:url(image.jpg) to item object.
Example: <div class="mega-menu dropdown-menu multi-level row bg-menu" style="background-image:url(image.jpg)"> ... </div>
Mega menu full width CSS class To set full width mega menu add class mega-menu-fullwidth to navbar object.
Example: <div class="navbar navbar-default mega-menu-fullwidth" role="navigation"> ... </div>.

To set partial full width mega menu add class mega-menu-fullwidth to ul nav object.
Example: <ul class="nav navbar-nav mega-menu-fullwidth"> ... </ul>.

To remove full width to a single mega menu item add class dropdown to li menu item. Example: <ul class="nav navbar-nav mega-menu-fullwidth"><li class="dropdown"> ... </li></ul>.
Tabs mega menu Information
Plugin dependency

This feature require Tabs Plugin (../scripts/jquery.tab-accordion.js and ../css/components.css)

Tabs documentation here

Menu global documentation

Menu big logo is part of menu global documentation page. Complete documentation here