a tiny jQuery plugin that adds a sweet 60's batman transition effect
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
batmanify.js
readme.md
screenshot.gif

readme.md

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