0

I want my navigation will slideup when click out side navigaiton/subnavigaion area... I put below code for that. But its not working for iPad. Can anybody help for this?

$(document).mouseup(function(){
        $("#navLeft").slideUp(0);
        $("#navRight").slideUp(0);
        });

1 Answers1

0

Try on click function?

$(document).on('click',function(){
    $("#navLeft").slideUp(0);
    $("#navRight").slideUp(0);
});
yeyene
  • 7,297
  • 1
  • 21
  • 29