Image Hover
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/imghover
软件介绍
Overview
ImgHover is a simple way to use hovering image on your site.
You can use fade effect to switch hovering images as well.
Usage
If you want to provide hovering behaviour to all the images, you can write simply like below;
$(document).ready(function(){
$('img').imghover();
});
<img src="/your/path/original.gif" />When mouse-over this image, file "/your/path/original_o.gif" shows on the element.
Bulk Setting
You can call this method on the elements other than images as well.
$(document).ready(function(){
$('div.image-container').imghover();
});In this case, ImgHover provides the function to the images under 'image-container' element.
Options
prefix
Create hovered image by original image name and prefix.
$('img').imghover({prefix: 'hover/'});
<img src="/your/path/image1.gif" />In this case, "/your/path/hover/image1.gif" will be provided as hovered image.
Default value is null.
suffix
Create hovered image by original image name and suffix.
$('img').imghover({suffix: '-hovered'});
<img src="/your/path/image1.gif" />In this case, "/your/path/image1-hovered.gif" will be provided as hovered image.
Default value is 'o'. # for my colleagues ;-p
src
Specify hovered image.
Defautl value is null.
btnOnly
When ImgHover was called to container element(s), the function find only or with anchor link. This option is useful to avoid empty gif, site logo and so on.
Default value is true.
fade
You can use fade effect to switch images.
Default value is false.
fadeSpeed
The speed of fade effect.
Default value is 500.
Easy way to use
This plugin is very handy when you use this with jGlycy.
Spring Boot实战
[美]克雷格·沃斯 / 丁雪丰 / 人民邮电出版社 / 2016-9 / 59.00元
本书以Spring应用程序开发为中心,全面讲解如何运用Spring Boot提高效率,使应用程序的开发和管理更加轻松有趣。作者行文亲切流畅,以大量示例讲解了Spring Boot在各类情境中的应用,内容涵盖起步依赖、Spring Boot CLI、Groovy、Grails、Actuator。对于Spring Boot开发应用中较为繁琐的内容,附录奉上整理完毕的表格,一目了然,方便读者查阅。一起来看看 《Spring Boot实战》 这本书的介绍吧!
