Library of The Week: Colorbox

Lightbox, a favorite technique for presenting image galleries, has been with us for more than 10 years. Click on an image and it is displayed in a large modal overlay with controls to step through other images in the same gallery. Although some pure CSS experiments have been attempted, the…

Library of The Week: decimal.js

Every child can tell you that 1 + 2 = 3. But what is 0.1 + 0.2? As developer, you are doubtless aware that the result when using floating-point arithmetic isn't exactly 0.3 but rather 0.30000000000000004. That's good enough for many applications, but in some cases we need to…

Library of the Week: lz-string

You know the feeling. You need a simple generic utility library, and you're convinced you aren't the first one. You know the best code is the code you don't have to write yourself, so you consult Google, Stack Overflow and even GitHub. No dice? At least you can enjoy the…

Library of the Week: Crossroads.js

This week, let's talk about the standalone routing library Crossroads.js by Miller Medeiros. We should also mention Hasher, a library by the same author that is often used in conjunction with Crossroads to trigger routing functionality when the browser history changes. If you're using a full-stack framework with an…

Library of the Week: Pikaday

We're introducing a new feature today on the JavaScripting blog: Library of the Week. We're receiving a lot of great submissions, and we decided it would be worthwhile to highlight some of the best ones. We'll be posting about a new library every Friday. With no further ado, let's talk…