Control GIF animated pictures to play and pause jquery plugins

Source: Internet
Author: User
Gifplayer is a jquery plugin that controls the playback and suspension of animated GIF images. The jquery plugin is simple to use and has a small file size. Lets you control the start and pause playback of any animated GIF picture.
To use the GIF animated image jquery plugin, you can divide it into the following five steps:
  • Add a static version of the GIF to your page, in the format of PNG, JPG, and other picture formats.
  • Add the Data-gif attribute to the IMG tag to point to the animated GIF picture, or not to write it.
  • In the Pictures folder, place the. gif format picture and its static version of the picture, the names of the two pictures are the same.
  • Introduce Gifplayer.js and gifplayer.css files to your page.
  • After the page has been loaded, the plug-in is called Through the. Gifplayer () method.

Online Demo: http://www.htmleaf.com/Demo/201503071479.html

: http://www.htmleaf.com/jQuery/Image-Effects/201503071478.html

Control GIF animated pictures to play and pause jquery plugins

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.