Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.

chsegala/pananimate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

pananimate

Animates larger images into smaller containers

Installation

You need to have jquery installed and add a reference to the js file

<script type="text/javascript" src="pananimate.js"></script>

Initialize the image to animate

$('img.animated').pananimate(options);

The available options are

{
    delay: 3000, //delay before animation
    animationSpeed: 1500,
    animationType: 'loop', //'single' and 'gotoAndStop' also available
    direction: 'forward' //anything other than 'forward' is 'backward'
}

About

Animates larger images into smaller containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published