Sign inSign up

jQuery Mouse Hover Effects Plugin

Add-ons
2026-07-26 07:02 5 views • 0 downloads 46.8KB
jQuery Mouse Hover Effects Plugin

Usage

Include the jQuery library file.

Include jquery.niceHover.js.

1
<script type="text/javascript" src="jquery.niceHover.js"></script>

Include the CSS file required by the plugin: niceHover.css.

Call the plugin method on the block element where you want to create the hover effect.

1
2
3
4
$(".box,.box1").niceHover({
color:"#FF7C54",
weight:3
});

Parameter Description:

color: Specifies the line color used in the hover effect. Any valid CSS color value can be used.

weight: Specifies the thickness of the lines used in the hover effect. The default value is 2.

Notes:

The container element for the effect must have a defined width and height.

You do not need to include the CSS file. You can simply copy its code directly into your own stylesheet.