jQuery hoverfiyBootnav
Use this simple bootstrap addon to add a nice effect on nav's hover.
How to install
Step 1: link required files
<!-- JS -->
If you want to use easing, dont forget to add it like this one: https://jqueryui.com/easing/
Step 2: Create html (bootstrap nav)
Home Profile Messages Commands & account
If you don't have a li.active, hbn will not work.
Step 3: Call Hoverify Bootnav
Using JS
;
Using data attribute (HTML)
Add data-hbn to call Hoverify Bootnav
Home Profile Messages Commands & account
Options
duration_effect_on //400duration_effect_off //1000easing_effect_on //nulleasing_effect_off //nulleffect_mouse_hover //classic or teleportationeffect_mouse_out //classic or teleportationbackground_color //nullcolor //null//Functionmy_effect_mouse_hover //nullmy_effect_mouse_out //null
Using options with data attribute (HTML)
Home Profile Messages Commands & account
Customize effects
You can set your own function on mouse hover & mouse out
And more
If you call Hoverify Bootnav on many nav like this
;
And if you want to overwrite an option for one particular nav, use data attribute! Like this (overwrite background-color):
.. ..
Change design
You want to set your own style? Use the selector .hoverboot-pill, like this
Licence
WTFPL - Do What The Fuck You Want To Public License.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004
Copyright (C) 2004 Sam Hocevar sam@hocevar.net
Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
You just DO WHAT THE FUCK YOU WANT TO.