讓網頁圖標產生擺動效果:jQuery ClassyWiggle

jQuery ClassyWiggle讓網頁圖標產生擺動效果,當你按住他們。類似于你按住iPhone上的應用圖標時產生的效果。

Options

  • degrees - an Array object which outlines the cycle of rotation for a wiggle increment.
  • delay - allows you to specify, in milliseconds, the delay between switching from one rotation degree to the next (see degrees). A higher number creates a slower “wiggle.”
  • limit - allows you to specify the maximum number of wiggles.
  • randomStart - a boolean value which tells the plugin to start wiggling all matched elements at the same degree or a random one.
  • onWiggle - an event that is fired off with the end of each wiggle.
  • onWiggleStart - an event that is fired off when the wiggling effect first starts.
  • onWiggleStop - an event that is fired off when the wiggling effect is stopped.
  • start() - starts the wiggle effect.
  • stop() - stops the wiggle effect.
  • isWiggling() - a method that can be used to determine if the matched element is currently “wiggling.”

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

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