Commit e8d3dce0 authored by Pierre's avatar Pierre

pads dans menu

parent ea32cf5f
......@@ -15,6 +15,9 @@
<li class="menu-entree item ajax" id="item-bureau">
[(#FORMULAIRE_BUREAU)]
</li>
<li class="menu-entree item dropdown" id="item-pads">
[(#MODELE{pads})]
</li>
<BOUCLE_entrees(MENUS_ENTREES){id_menu}{par rang}>#SET{entree,''}
[(#MENUS_AFFICHER_ENTREE)#SET{entree,' '}
]<BOUCLE_sous_menu(MENUS){id_menus_entree}>
......
<a href="#pads" id="bouton_pads" class="texte_libre"><:Pads:></a>
<ul class="menu-liste menu-items hide dropdown-menu navbar-dp" style="position: absolute;" id="bouton_pads_choix">
<li class="menu-entree item">
<a href="https://pads.domainepublic.net">Pads publics</a>
</li>
<li class="menu-entree item">
<a href="https://mypads.domainepublic.net">Pads privés</a>
</li>
</ul>
<script type="text/javascript">
/*
$(".navbar #bouton_pads").click(function(event) {
$("#item-pads li").toggle();
});
$(".navbar #item-pads").hover(function(event) {
// cacher tout webmail, bureau, etc ...
if(!$('#item-pads li').is(':visible')) {
$("#item-pads li").hide();
}
});
*/
$("#bouton_pads").click(function(event) {
if(!$('#bouton_pads_choix').is(':visible')) {
// $("#bouton_pads_choix").hide();
$(".navbar .navbar-dp").hide();
}
$("#bouton_pads_choix").toggle();
event.stopPropagation();
});
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment