jQuery.shrinkTo

Fri, May 28, 2010

A cool little plugin that shrinks and fades any element to a position on the page.

Download jquery.shrinkTo.js

Usage:

$("#example1").shrinkTo(top, left, [callback]);

Example:

(Click anywhere on the page to test)

Without callback

jQuery

With callback

jQuery