1
I’m trying to use the bootstrap 3
along with the VRaptor 3
and I have a problem on the menu.
I happen to have in this menu the option "exit" and I’m lost.
I need that when the user click on "exit", open a window asking if this is really what you want and giving "ok" exit the system.
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Rede Olp</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="<c:url value="/inicial"/>">Home</a></li>
<li><a href="<c:url value="/logout"/>">Sair</a></li>
</ul>
<form class="navbar-form navbar-right">
<input type="text" class="form-control" placeholder="Search...">
</form>
</div>
</div>
</nav>
Thanks @Renan , but using the modal became more elegant. Your tip worked. However, I will use Gabriel’s tip ... I am trying to get the modal button to actually exit the system. rsssrr
– Marcia Pereira Reis
Next time you detail that is to use modal.
– Renan Gomes
thanks again for the kindness in helping me. I will detail next. Tks
– Marcia Pereira Reis