Skip to content

A JavaScript class that helps in the user interface dealing with images and difficulties that UI developers face during development.

Notifications You must be signed in to change notification settings

JosephSKh/ImagesHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

#Last Commit: 28 Jul 2016 #STILL UNDER CONSTRUCTION

Images Helper

A JavaScript class that helps in the user interface dealing with images and difficulties that UI developers face during development.

Getting Started:

Include JQuery

Download and include ImagesHelper.js

##Functions:

  • ImagesHelper.AdjustImages(imgParentSelector, imgSelector) Adjusts the images to fill it's parent regarldess the ratio.

####EX:

$(window).load(function () {
    ImagesHelper.AdjustImages(".img-album-holder",".album-img");
});
$( window ).resize(function() {
    ImagesHelper.AdjustImages(".img-album-holder",".album-img");
});

#CDNs: ##JS: ###JQuery:

<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>

About

A JavaScript class that helps in the user interface dealing with images and difficulties that UI developers face during development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published