1.0.3 • Published 9 months ago

@guyfoz77/dropdown-menu v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

dropdown-menus

Use this to initilse your pages drop down menus.

  1. Your menus should be within a container with class menuContainer. 1.1. menuContainer should have the following CSS: position: relative;

  2. Each dropdown menu should have its own container, with the class link[number]Menu. For example, link0Menu, link1Menu and so on. Each of these containers should also have the class dropDownMenu. 2.1. dropDownMenu should have the following css: position: absolute; z-index: 1; (or higher)

  3. You need to have a CSS file with the following code contained witin a .hide selector: display: none;

  4. The function dropDownActivator(action) will initilise the nav bar. action refers to the event listener which will bring up the menu, eg 'click' or 'hover'.

1.0.3

9 months ago

1.0.2

9 months ago

1.0.0

9 months ago