Initial commit

This commit is contained in:
2020-11-02 15:46:52 +01:00
commit 17f974127c
13788 changed files with 1921656 additions and 0 deletions

39
www/lib/jquery/menu.js vendored Normal file
View File

@@ -0,0 +1,39 @@
var obj = null;
function checkHover() {
if (obj) {
obj.find('ul').fadeOut('fast');
} //if
} //checkHover
$(document).ready(function() {
$('#Nav > li').click(function() {
if (obj) {
obj.find('ul').fadeOut('fast');
obj = null;
} //if
$(this).find('ul').fadeIn('fast');
$(this).hover(function(){},function() {
obj = $(this);
setTimeout(
"checkHover()",
0); // si vous souhaitez retarder la disparition, c'est ici
})
});
$('#Nav2 > li').click(function() {
if (obj) {
obj.find('ul').fadeOut('fast');
obj = null;
} //if
$(this).find('ul').fadeIn('fast');
$(this).hover(function(){},function() {
obj = $(this);
setTimeout(
"checkHover()",
0); // si vous souhaitez retarder la disparition, c'est ici
})
});
});