v2.0.2

freezeframe.js automatically pauses animated GIFs
and enables them to start animation on mouse hover or click.

It is easy to install, free to use, and weighs in at only 8kb.

Example

<script type="text/javascript" src="freezeframe.js"></script>
...
<img class="freezeframe" src="img/mr_div_retro_sphere.gif" />
Image: Retro Sphere by Mr. Div

Download

Fork me on Github.

freezeframe.js v2.0.2

Documentation

A copy of the documentation is included with the above download.

FreezeFrame Documentation

Attribution

While not required, I would appreciate a link back to my website if freezeframe is included in your work. Here is a suggestion:

Using <a href="http://freezeframe.chrisantonellis.com">FreezeFrame</a>
by <a href="http://www.chrisantonellis.com">Chris Antonellis</a>

This could be included in the footer, about page, readme file or not at all.



About

freezeframe.js was written by Chris Antonellis and is licensed under a Creative Commons 3.0 License.
You can visit my personal website at http://www.chrisantonellis.com and contact me via email at christopher.antonellis@gmail.com.

Download & Documentation Icons by Yusuke Kamiyamane