生成吸引用户注意的脉搏效果:jQuery.pulsate.js
jQuery.pulsate.js用于为元素增加了脉动效果, 绘制吸引用户关注的动画。
  
  
简单示例:    $(element).pulsate();    自定义选项    $(element).pulsate({    color: $(this).css("background-color"), // set the color of the pulse    reach: 20,                              // how far the pulse goes in px    speed: 1000,                            // how long one pulse takes in ms    pause: 0,                               // how long the pause between pulses is in ms    glow: true,                             // if the glow should be shown too    repeat: true,                           // will repeat forever if true, if given a number will repeat for that many times    onHover: false                          // if true only pulsate if user hovers over the element  }); 
 本文由用户 jopen  自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
                 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
                 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
                
                