Bootstrap Hover Dropdown screenshot

Bootstrap Hover Dropdown

Author Avatar Theme by Mdbootstrap
Updated: 13 Sep 2016
1248 Stars

An unofficial Bootstrap plugin to enable Bootstrap dropdowns to activate on hover and provide a nice user experience.

Overview

The Bootstrap Hover Dropdown Plugin is a simple yet powerful enhancement for Bootstrap dropdowns that allows them to activate on hover, significantly improving user experience. With the transition from Twitter Bootstrap to just Bootstrap, this plugin has been updated to work seamlessly with Bootstrap 3, while maintaining its core functionalities. Users can now enjoy a smooth and intuitive experience without the hassle of the dropdown closing unexpectedly when hovering near the edge of the menu.

This plugin addresses one of the common pain points associated with dropdown menus by allowing a configurable delay before closing the dropdown, ensuring that navigation remains accessible even when the cursor briefly moves outside the dropdown area. The HTML structure remains unchanged, which means it integrates effortlessly with existing Bootstrap dropdowns without disrupting the default click behavior.

Features

  • Easy Installation: Simply download and extract the package, or use Bower to manage dependencies like Bootstrap and jQuery seamlessly.

  • Hover Activation: Just add the attribute data-hover="dropdown" alongside Bootstrap’s existing data-toggle="dropdown" to enable hover functionality effortlessly.

  • Configurable Delay: Set a delay time (defaulting to 500 milliseconds) before a dropdown closes, allowing users to navigate without frustration.

  • Dual Functionality: The plugin works harmoniously with the click-to-activate method, providing flexibility for both desktop and mobile users.

  • Instant Close Option: With the instantlyCloseOthers option, users can choose to close other dropdowns immediately when a new one is activated, maintaining a clean interface.

  • Maintains Submenu Support: Works with Bootstrap’s built-in support for submenus without requiring any additional configuration.

  • User-Friendly Design: Addresses a common issue of dropdowns closing too quickly, enhancing the overall user experience during navigation.

By integrating this plugin into your Bootstrap project, you can significantly enhance navigation capabilities and ensure a smoother experience for your users.