Topic: navigation drop down

R.M HARSHA INDUNIL free asked 6 years ago


How to set drop down menu toggle to mouse hover without on click ?

Jakub Strebeyko staff answered 6 years ago


Hi there,

The easiest way to do it seems to be triggering dropdown click event with a hover. To your .js file add:

$('.dropdown').hover(function(){
  $('.dropdown-toggle', this).trigger('click');
});

With Best Regards,
Kuba



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags