今天为大家带来一款鼠标经过当前高亮其它变暗jQuery插件jFade,此款插件能实现的功能简单而且很实用,当鼠标经过图片列表或是文字列表时悬停当前高亮显示,其它图片列表变暗突出显示鼠标当前悬停。
代码如下:
">
">
<Meta name="Author" content="pakaerf">
jFade
jFade is a simple jquery plug-in that lets you highlight items on your website. Not only are customizable fades possible,but easy control of surrounding elements makes your most important content stand out.
Portfolio Gallery
(Fade adjoining objects out)
To use default settings just add the function
and add the class tag to each element:
Custom settings are easily set and explained in the help doc
Portfolio Gallery 2
(Fade objects in)
Call to Action Button
(give buttons some flair)
Text
(have subtle effects)
dio venenatis. Aliquam dignissim iaculis neque,sed accumsan erat aliquam porttitor.
以上就是本文的全部内容了,希望对大家熟练掌握jQuery特效能有所帮助。
原文链接:https://www.f2er.com/jquery/55288.html