Create Cool Navigation Hover Effect Using jQuery HoverSlippery - Download Create Cool Navigation Hover Effect Using jQuery - HoverSlippery

Download Create Cool Navigation Hover Effect Using jQuery – HoverSlippery

Posted on

This time I will share jQuery Plugin and tutorial about Create Cool Navigation Hover Effect Using jQuery – HoverSlippery, hope it will help you in programming stack.

Create Cool Navigation Hover Effect Using jQuery HoverSlippery - Download Create Cool Navigation Hover Effect Using jQuery - HoverSlippery
File Size: 10.4 KB
Views Total: 3364
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

HoverSlippery is a lightweight jQuery plugin which adds cool, animated, customizable hover effects to anchor links of your navigation menu.

How to use it:

1. Place the jQuery HoverSlippery plugin after jQuery library but before the closing body tag.

1 <script src="//code.jquery.com/jquery.min.js"></script>
2 <script src="hoverSlippery.js"></script>

2. Create an inline navigation menu using html unordered list as follows:

01 <nav class="nav demo">
02   <ul>
03     <li class="nav__item active"><a href="#">Home</a></li>
04     <li class="nav__item"><a href="#">Fashion</a></li>
05     <li class="nav__item"><a href="#">Lifestyles</a></li>
06     <li class="nav__item"><a href="#">Travels</a></li>
07     <li class="nav__item"><a href="#">Music</a></li>
08     <li class="nav__item"><a href="#">About us</a></li>
09     <li class="nav__item"><a href="#">Contact</a></li>
10   </ul>
11 </nav>

3. Call the function on the top nav to apply a default hover effect.

1 $('.demo').hoverSlippery();

4. Customize the hover effect.

01 $('.demo').hoverSlippery({
02   bgColor: '#394264',
03   speed: 300,
04   radius: '5px',
05   border: false,
06   borderColor: '#efefef',
07   borderTop: 0,
08   borderStyle: 'solid',
09   borderWidth: '1px',
10   borderTopLine: false,
11   twiceBorder: false
12 });

This awesome jQuery plugin is developed by Hastalavistababy. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net