Hello everybody,
and many thanks in advance for your help.
I have a problem with my script (of course) but only on Safari...
If you go here (
view website ) with firefox or Chrome, you can view expected behavior.
But on Safari, the menu doesn't want to close by itself. The user need to click on the link in the top to close it...
Here is the code I use (I'm beginner in js...) :
jQuery(document).ready(function() {
jQuery(".heading").hoverIntent( function() { jQuery(this).next(".contenu").slideDown(500); }, 500, function() {} );
jQuery("#site-title-single").hover(
function(){
jQuery(".contenu").slideToogle(500);
},
function(){
jQuery(".contenu").slideToogle(500); });
});
jQuery(document).ready(function() {
jQuery(".background_black").fadeOut(800);
jQuery(".topmenu a").click(function() {
if(jQuery(this).attr('href')=='#')
{ }
else{
jQuery(".background_black").fadeIn(800); }
});
});
Thanks !
Jerome