I am trying to implement a dropdown navigation link feature on tablets where the child menu div drops down only on the second click. This functionality already works on iPads, but on Android and Windows tablets, the link is triggered at the same time as the dropdown occurs.
Here is the code I am currently using:
jQuery("ul.menuTop > li a.students" ).mouseenter(function( event ){
event.stopImmediatePropagation()
jQuery("#studentsMenu" ).fadeIn();
jQuery("#facultyMenu" ).hide();
jQuery("#staffMenu" ).hide();
jQuery("#alumniMenu" ).hide();
jQuery("#aboutMenu" ).hide();
});
jQuery(".menuWrapper" ).mouseleave(function (){
jQuery("#studentsMenu" ).hide();
});
Any help or suggestions would be greatly appreciated. Thank you!