Rasmus.krats.se

svenska

Reminiscing this and that, on the web since 1995

Tagged html5

A simple and usable lightbox

Published tagged , , , , , , .

I have written a new jQuery plugin. It is a lightbox with focus on simplicity and usability. I call it kratsbox, and it's availiable on github. Instructions for use are in the readme at the github page.

I have used lightboxes such as fancybox and jquery-lightbox for a while, but havn't been happy with the keyboard usability of them (let alone the fact that they all seem to require image loading). Recently, Axbom linked to a specification for an Accessible Lightbox, which I agree with. After doing some more searching for a good lightbox, and still not finding any, I gave up and wrote my own.

Of course, I now use kratsbox on this site, so as a demo, here's some of my favorite images from 2011.

Image
Image
Image

Write a comment

Tech update on Rasmus.krats.se

Published tagged , , , .

I've run a little django on this site for a long time beside the actual content (which was static files, created with make and xslt). Now I've gone all out and run the entire site in django.

At the same time, I've modernized the markup using some semantic html5. Some javascript and css should make it work even in browsers that doesn't really support it (like MSIE 8 and older). The graphical design has got an update to, even if it remains rather similar to the way it has looked since 2009. I hope it is both nice looking and useable on both big screens and small phones.

This also means that comments is enabled on the site again, after having been disabled for a while.

Write a comment