PHP Classes

Bootstrap responsive menu

Recommend this page to a friend!

      Nested Nodes Class  >  All threads  >  Bootstrap responsive menu  >  (Un) Subscribe thread alerts  
Subject:Bootstrap responsive menu
Summary:Please help me!
Author:andrea larosa
Date:2013-11-21 14:46:07


  1. Bootstrap responsive menu   Reply   Report abuse  
Picture of andrea larosa andrea larosa - 2013-11-21 14:46:07
I really don't know the reason why i am not able to make my nav menu through $node -> HtmlTree responsive with css from bootstrap.

This is a simple menu with bootstrap css:

<div class="navbar navbar-inverse">
<div class="navbar-inner">
<div class="container">
<a data-target=".navbar-responsive-collapse" data-toggle="collapse" class="btn btn-navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<a href="#" class="brand">Brand Name</a>
<div class="nav-collapse collapse navbar-responsive-collapse">
<ul class="nav">
<li><a href="#">Home</a></li>
<li><a href="#">Profile</a></li>
<li class="dropdown">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">Messages <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Inbox</a></li>
<li><a href="#">Drafts</a></li>
<li><a href="#">Sent Items</a></li>
<li class="divider"></li>
<li><a href="#">Trash</a></li>


Can you help me with the ul class="dropdown" and li class="dropdown"?

Thank you so much!!

andreafrullilarosa [at] gmail [dot] com