1.0.3 • Published 2 years ago
@guyfoz77/dropdown-menu v1.0.3
dropdown-menus
Use this to initilse your pages drop down menus.
Your menus should be within a container with class
menuContainer. 1.1.menuContainershould have the following CSS:position: relative;Each dropdown menu should have its own container, with the class
link[number]Menu. For example,link0Menu,link1Menuand so on. Each of these containers should also have the classdropDownMenu. 2.1.dropDownMenushould have the following css:position: absolute;z-index: 1;(or higher)You need to have a CSS file with the following code contained witin a
.hideselector:display: none;The function
dropDownActivator(action)will initilise the nav bar.actionrefers to the event listener which will bring up the menu, eg 'click' or 'hover'.