生成吸引用戶注意的脈搏效果:jQuery.pulsate.js

jopen 10年前發布 | 59K 次閱讀 jQuery特效插件 jQuery插件 Pulsate.js

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 });</pre>

項目主頁:http://www.baiduhome.net/lib/view/home/1390721211789

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!