1
I am using bootstrap and would like to know how I do to work with dropdown menu with multi-level?
<div class="btn-group">
<a href="index.php" class="btn btn-warning">Item1</a>
<a href="paroquias.php" class="btn btn-warning">Item2</a>
<div class="dropdown btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="true">
Menu-Dropdown
<span class="caret"></span>
</button>
<ul class="dropdown-menu btn btn-warning" role="menu" aria-labelledby="dropdownMenu1">
<li><a href="#" class="btn btn-warning">Menu</a></li>
<li class="divider"></li>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
SubMenu1
<span class="caret"></span>
</button>
<li><a href="#">SubMenu2</a></li>
<li><a href="#">SubMenu3</a></li>
</ul>
</div>
I thought it was cool, but for some reason, it’s not working. Dei um Ctrl +C e Ctrl V e nada. Thanks.
– fabricio_wm
You copied HTML and CSS or just HTML?
– Richard Dias
Both. E put in separate files. Must be some jquery that must be missing.
– fabricio_wm
What do you recommend, @Richard?
– fabricio_wm