November 10, 2008 - Comments Off on CSS Sprites2 in Prototype and script.aculo.us

CSS Sprites2 in Prototype and script.aculo.us

Over the weekend, I finally got around to porting Dave Shea's CSS Sprites2 technique to Prototype and script.aculo.us.

My version of CSS Sprites2 is almost exactly the same as Dave's, but it also includes keyboard support. There's a matching focus, blur, keydown and keyup event handler for each mouse event handler.

Get CSS Sprites2 for Prototype and script.aculo.us.

Jeffrey Barke is senior developer and information architect at theMechanism, a multimedia firm with offices in New York, London and Durban, South Africa.

Published by: jeffreybarke in The Programming Mechanism
Tags: ,

Comments are closed.