# jquery.hoverformenu

> Simple jQuery plugin for easy navigation through drop-down menus.

Latest version **1.0.0** (published 2017-04-21) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install jquery.hoverformenu
pnpm add jquery.hoverformenu
yarn add jquery.hoverformenu
bun add jquery.hoverformenu
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-04-21 |
| First published | 2017-04-21 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alexander Tartmin |
| Maintainers | baskerville42 |
| Keywords | menu, dropdown, hover, jquery-plugin, drop-down, dropdown, menu, drop-down, menu, html5, menu, html5, drop-down, menu, html5, dropdown, menu |

## Links

- npm: https://www.npmjs.com/package/jquery.hoverformenu
- Repository: https://github.com/Baskerville42/hoverForMenu
- Homepage: https://github.com/Baskerville42/hoverForMenu#readme
- Issues: https://github.com/Baskerville42/hoverForMenu/issues
- npm.io page: https://npm.io/package/jquery.hoverformenu

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-04-21

## README

# jquery.hoverForMenu.js

Simple jQuery plugin for easy navigation through drop-down menus.

### How to use
```javascript
$('#mainmenu > ul > li').hoverForMenu({
  onMouseEnter: {
    t: 300, // Timeout for mouse enter callback, default val 300ms.
    fn: function () { // Mouse enter callback.
      $('.dropdown', this).addClass('visible');
    }
  },
  onMouseLeave: {
    t: 300, // Timeout for mouse leave callback, default val 300ms.
    fn: function () { // Mouse leave callback.
      $('.dropdown', this).removeClass('visible');
    }
  }
});
```

Do not use the `:hover` state in CSS to display the drop-down menu!. This is not compatible with this plugin.

### Demo
This is [JSFiddle](https://jsfiddle.net/Baskerville42/pj0y0gm1/) with demo.

---
_Source: https://npm.io/package/jquery.hoverformenu · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
