I Use This!
Activity Not Available
Analyzed 10 months ago. based on code collected 10 months ago.

Project Summary

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')});


jquery sizes images scale scaling

In a Nutshell, scaling...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    anyone with an Open Hub account can update a project's tags
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    check out hot projects on the Open Hub

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
Review this Project!