JavaScript
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.
MIT-LICENSE.txt Add a README. Dec 8, 2013
README.mdown Typo. Dec 9, 2013
focus-zoom.js Expose only one global variable: focusZoom. Dec 8, 2013
index.html Update the article URL. Dec 9, 2013

README.mdown

Flying Focus · Focus Snail · Focus Zoom · Focus Hug

Focus Zoom

To use, just include <script src="focus-zoom.js"></script> inside either <head> or <body>. It has no external dependencies.

API

Focus Zoom exposes focusZoom global variable.

focusZoom.trigger(element) manually runs for the specified element

focusZoom.enabled = true