jQuery Mouse Hover Effects Plugin
Add-ons

Plugin description: A plugin that uses jQuery to create mouse hover effects for page content.
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.
评论