ultimos ajustes de menus

This commit is contained in:
Hacky Purple 2018-10-14 21:24:44 -05:00
parent a967e87db3
commit 4a9effdc25
2 changed files with 10 additions and 8 deletions

View File

@ -955,7 +955,7 @@ $aplicacion_pie="
<a href='#' class='dropdown-toggle ' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'>
Secciones<span class='caret'></span>
</a>
<ul class='dropdown-menu'>
<ul class='dropdown-menu'>
$aplicaciones_listado
</ul>
</li>
@ -1115,14 +1115,12 @@ $panel_aplicaciones = panel_aplicaciones('1',"","");
if(isset($_SESSION['id'])){ $boton_ingresar="
<li class='dropdown'>
<a href='milfs/' class='dropdown-toggle' data-toggle='dropdown'>$_SESSION[username]<b class='caret'></b></a>
<ul class='dropdown-menu'>
<li>
$panel_aplicaciones
</li>
<li id='user_dropdow' class='dropdown'>
<a href='milfs/' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'>$_SESSION[username]<b class='caret'></b></a>
<ul id='menu_administrador' class='dropdown-menu'>
$panel_aplicaciones
<li class='divider'></li>
<li><a onclick=\"xajax_milfs_session('','','','salir') \">SALIR <i class='fa fa-sign-out'></i></a></li>
<li class='btn btn_hover'><a onclick=\"xajax_milfs_session('','','','salir') \"><i class='fa fa-sign-out'></i> SALIR</a></li>
</ul>
</li>

View File

@ -9,3 +9,7 @@ $(window).scroll(function() {
$(window).scroll(function(){
$(".top").css("opacity", 1 - $(window).scrollTop() / 100);
});
$('.dropdown-menu').click(function(e) {
e.stopPropagation(); //This will prevent the event from bubbling up and close the dropdown when you type/click on text boxes.
});