Skip to content
jQuery plugin for the resizing of elements to the page.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
img
src
README

README

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.