Archive for the ‘ jQuery ’ Category

Javascript fill within container while maintaining aspect ratio

I’ve been working with the jQuery plug-in jCrop to let users adjust thumbnails to focus on the object of their photos. The photo may vary in ratio and size, also the location of the important object of the photo may not be in the center of the original image file. This is not an automation-friendly scenario and we need the user to help us get the thumbnails look good.
Read more

Tabs with jQuery

jqueryThere are alot of tab plug-ins for jQuery out there, but just for a simple couple of tabs, I didn’t really see the point of making it that complicated..

Our goal is to create two simple tabs that toggle two divs with each its content.

Read more