0
How to show a sub-menu inside another?
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>@Html.ActionLink("Início", "Index", "Home")</li>
<li>@Html.ActionLink("Usuários", "Index", "Usuarios")</li>
<ul>
<li>@Html.ActionLink("Logs", "Logs", "Usuarios")</li>
</ul>
<li>@Html.ActionLink("Contato", "Contact", "Home")</li>
</ul>
@Html.Partial("_LoginPartial")
</div>
The idea is that the Link Logs of User stay just below the user link and as soon as the user hovers over link Users the link is shown Logs.
Tried anything? You can use the Jquery mouseover event: https://api.jquery.com/mouseover/
– Marconi