jQuery Plugin: setPosition

Basic Usage

The most basic usage of setPosition.
Test Code Reset 1
MOVE ME!
$('#test1').setPosition();

Pixel and string

Using both pixel and string commands to set the box centered horizontally and 25 pixels from the top
Test Code Reset 2
MOVE ME!
$('#test2').setPosition('25 center');

Options

Using options on all boxes on screen
Test Code Reset 2
MOVE ME!
$('.box').setPosition('center', {saveSpace:false});
Download Source