Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 658 Bytes
jmc_resizer jQuery Plugin v0.1.0
-------------------------------
Copyright (c) 2010 Joel Courtney. Licensed under the MIT license.
Overview
--------
A jQuery plugin that makes element resizing to a window a breeze.
Usage
-----
// create the jmc_resizr instance (settings must be an object)
$('img').jmc_resizr(settings);
Settings
--------
cropType : 'full' | 'height' | 'width' | 'fill_outer' | 'fit'
binding {
vertical : 'top', 'center', 'bottom'
horizontal : 'left', 'center', 'right'
},
followBrowserSize : true | false,
parentElement : $('#yourElement') — *Default is $('body')*
TODO
----
- IE Support Check
Something went wrong with that request. Please try again.