Using markup, I have created a dropdown menu utilizing Twitter Bootstrap.
<ul class="nav pull-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Menu <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Menu item 1...</a></li>
<li class="divider"></li>
<li><a href="#">Menu item 2...</a></li>
<li><a href="#">Menu item 3</a></li>
</ul>
</li>
</ul>
I am looking for a way to make certain menu items disabled, with no hover effect and a unique text decoration to indicate their disabled state.
What is the most effective method to achieve this? Are there any existing Bootstrap CSS classes that can be applied to the <li>
or <a>
elements?