Skip to content

a tiny jQuery plugin that adds a sweet 60's batman transition effect

Notifications You must be signed in to change notification settings

carrafa/batmanify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

BATMANIFY

a tiny jQuery plugin to create sweet batman transitions on your links.

configuration

rotationSpeed: in degrees per 10 milliseconds. default is 15.

zoomSpeed: in a percentage increase/decrease per 10 milliseconds. default is 0.02

imageSource: a url. default is batman's. use your own???

topOffset: sets the top position of the image, may have to adjust based on your custom image or implementation

usage

$('.my-sweet-link').batmanify({
    rotationSpeed: 15,                            // optional
    zoomSpeed: 0.02,                              // optional
    imageSource: 'images/batmanify.png',          // optional
    topOffset: 0                                  // optional
  });

or, just add class "batmanify" to your link

About

a tiny jQuery plugin that adds a sweet 60's batman transition effect

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published