javascript - How to set the active status for a navbar? -
i've tried multiple codes setting active status on navbar menu link, none of them works. found bootply link works: http://bootply.com/70331 , won't work on menu. here's navbar: <div class="navbar"> <div class="navbar-inner"> <div class="container"> <!-- .btn-navbar used toggle collapsed navbar content --> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <!-- sure leave brand out there if want shown --> <a class="brand" href="{{ url::to('news/index') }}">emiaac</a> @include('common.menu_addition') @include('common.view_special') <!-- w