pointer events none en grand écran seulement
This commit is contained in:
parent
0af2e0b99d
commit
c263d3bed4
|
@ -553,14 +553,16 @@ $(document).ready(function(){
|
||||||
/**
|
/**
|
||||||
* Affiche le sous-menu quand il est sticky
|
* Affiche le sous-menu quand il est sticky
|
||||||
*/
|
*/
|
||||||
$("nav:not(.navsub)").mouseenter(function(){
|
$("nav:not(.navsub)").mouseenter(function(){
|
||||||
$("#navfixedlogout .navSub").css({ 'pointer-events' : 'auto' });
|
$("#navfixedlogout .navSub").css({ 'pointer-events' : 'auto' });
|
||||||
$("#navfixedconnected .navSub").css({ 'pointer-events' : 'auto' });
|
$("#navfixedconnected .navSub").css({ 'pointer-events' : 'auto' });
|
||||||
});
|
});
|
||||||
$("nav, .navSub").mouseleave(function(){
|
$("nav, .navSub").mouseleave(function(){
|
||||||
$("#navfixedlogout .navSub").css({ 'pointer-events' : 'none' });
|
if($(window).width() > 799 ) {
|
||||||
$("#navfixedconnected .navSub").css({ 'pointer-events' : 'none' });
|
$("#navfixedlogout .navSub").css({ 'pointer-events' : 'none' });
|
||||||
});
|
$("#navfixedconnected .navSub").css({ 'pointer-events' : 'none' });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Chargement paresseux des images et des iframes
|
* Chargement paresseux des images et des iframes
|
||||||
|
|
Loading…
Reference in New Issue