图片/图形

neatShow 图片淡入淡出加载效果jQuery特效

阿里云


neatShow 是一款非常实用的 jQuery 图片淡入淡出加载效果插件。当在图片上应用 neatShow 插件的时候,它会等到该图片下载完成,立刻以 fade in 的方式将图片显示出来,而不管其它图片是否下载完成。该 jquery 图片插件可以在图片的各种状态下工作,如图片正在下载、图片下载完成和缓存图片。

使用方法

  1. $(selector).neatShow();
也想出现在这里?联系我们
创客主机

可用参数

  1.     speed: number:指定图片淡入淡出的时间,单位毫秒,默认值400毫秒
  2.     $(selector).neatShow({ speed: 800});
  3.      // specify fade in speed for images in milliseconds. 
  4.      // If no speed is specified default is 400ms.                      
  5.     speed: 'random':图片在下载完成后移随机的速度淡入淡出显示图片。
  6.     $(selector).neatShow({ speed: 'random'});
  7.      // each image will fade in at a random speed once downloaded                     
  8.     speed: 'random', minSpeed: 400, maxSpeed: 2400:你可以为随机显示指定最大和最小的淡入淡出速度,默认最小速度为400毫秒,最大速度为1200毫秒。
  9.     $(selector).neatShow({ speed: 'random', minSpeed: 400, maxSpeed: 2400});
  10.      // you can also specify minimum and maximum fade in speeds for random.
  11.      // If none are specified the defaults are 400 and 1200

容器模式

  1. $(selector).neatShow({ mode: 'container'});
  2.  // Container Mode will scan through selector's images and  
  3.  // fade in any image inside that container that is hidden.

注意:如果你要使用这个 jQuery 插件来制作图片淡入淡出的效果,图片的初始状态必须是隐藏的。

neatShow 图片淡入淡出加载效果 jQuery 特效

已有 278 人购买
查看演示升级 VIP立刻购买

演示地址 下载地址
收藏
(0)

发表回复

热销模板

Ashade - 作品展示摄影相册WordPress汉化主题
LensNews

本站承接 WordPress / PbootCMS / DedeCMS 等
系统建站、仿站、开发、定制等业务!