html - bootstrap submenu not working locally -
so i'm trying add sub menus main dropdown shown in http://www.bootply.com/3gl49mdq4p# or here under sub menus bit http://getbootstrap.com/2.3.2/components.html#dropdowns can't figure out why code not working.
when hover "tvs" bit dropdown dropdown list consisting of "remote controls", "projectors" , "flat screen" should pop doesn't though i've tried doing says in both sources...
<div class="navbar navbar-inverse navbar-static-top"> <div class="container"> <button class="navbar-toggle" data-toggle="collapse" data-target=".navheadercollapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div class="collapse navbar-collapse navheadercollapse"> <ul class="nav navbar-nav navbar-center"> <li class="active"><a href="#">dropdown option</a></li> <li><a href="#">dropdown option</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle = "dropdown">products <b class="caret"></b></a> <ul class="dropdown-menu" role="menu"> <li class="dropdown-submenu"> <a href="#" data-toggle = "dropdown" data-toggle="dropdown">tvs</a> <ul class="dropdown-menu"> <li><a href="#" class="menu-item">remote controls</a></li> <li><a href="#" class="menu-item">flat screen</a></li> <li><a href="#" class="menu-item">projectors</a></li> </ul> </li> </ul> </li> </ul> </div> </div> </div>
Comments
Post a Comment