microlite
An uber small 1kb lightbox
Purpose
MicroLite is a javascript lightbox with zero dependencies. It has no extras, no icons, no options, no bloat, but looks nice and is easy to use. Ideal for including it directly in your page on an as-needed basis.
It only modifies and animates composite (transform and opacity) CSS properties, give you buttery smooth 60 FPS transitions.
It uses CSS multiple backgrounds to load in the high-res version on top of the low-res, making the experience fast and seamless.
Usage
Include the script in the bottom of your doc, then simply call the microLite(); return false; function via onclick on your link to the larger full-size image.
<a href="[full-image.jpg]" onclick="microLite(this); return false;">
<img src="[thumbnail-image.jpg]" />
</a>
Features
- Prevents wheel-scrolling
- Closes on escape key keypress
- Removes listeners when closed, keeping your window events clean
Size
| 2,563 | 1,689 |
|---|---|
| bytes | minified |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

