Skip to content

Simple reusable jQuery Plugin for Drupal's default menu structure.

Notifications You must be signed in to change notification settings

lkacenja/menu-drops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

A simple menu script for creating drop down and click to drop menus with Drupal's default menu block structure. Drop down mode requires Hover Intent by Brian Cherne. To use simply create a menu block in Drupal's block interface. Then create a simple script in your theme.

To attach:

  $('#menu').menuDrops();

To detach:

  $('#menu').menuDropsRemove();

Optionally, send params:

  $('#menu').menuDrops({
    mode: 'mouseover', // mouseover or click
    onConstruct: function() {}, // Optional after construct callback
    onDestruct: function() {}, // Optional after destruct callback
    onOpen: function() {}, // Optional callback when an item is activated
    onClose: function() {}, // Optional callback when an item is deactivated
  });

About

Simple reusable jQuery Plugin for Drupal's default menu structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published