jQuery插件jFade实现鼠标经过的图片高亮其它变暗

前端之家收集整理的这篇文章主要介绍了jQuery插件jFade实现鼠标经过的图片高亮其它变暗前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

今天为大家带来一款鼠标经过当前高亮其它变暗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特效能有所帮助。

猜你在找的jQuery相关文章