Activity Not Available
I Use This!

Project Summary

Analyzed 3 months ago. based on code collected 3 months ago.

scalingscaling is an extremely lightweight (2.4k) jQuery plugin which scales images and dom elements to the dimensions of other images/elements on the page, or to any ratio or size.

FeaturesSupports a number of scaling types: Scale Up Scale Down Scale up to a Minimum Scale down to a Maximum Smart scaling (auto-detects direction) Raw scaling (scales by an exact ratio) Open Source so you can help to improve it/change it for your own needs Scaling Examples jQuery(function(){
// Scale all images down to 10%
jQuery('img').scale({mode: SCALE_DOWN, target: '10%'});
// Scale element to no larger than 800x600
jQuery('#element').scale({mode: SCALE_MAX, target: [800,600]});
// Scale all matching elements to the current ratio of the provided element
jQuery('.someclass').scale({mode: SCALE_SMART, target: $('#someelement')});


In a Nutshell, scaling...


30 Day Summary

Apr 10 2016 — May 10 2016

12 Month Summary

May 10 2015 — May 10 2016



Be the first to rate this project
Click to add your rating
   Spinner f6ecff617ec2ba7f559e6f535cad9b70a3f91120737535dab4d4548a6c83576c
Review this Project!