thumbnail image for this experiment

javascript fade

description:

inspired by the fade-in effect over at couloir, richard rutter discusses his plan to recreate a similar bit of cross-browser javascript for his own experiment sandbox.

well, as soon as i read that, my own interest was piqued...and the result seems to be fairly workable. the main improvement over the original couloir code is in the area of accessibility: with my version, if javascript is unavailable or not enabled, the images are simply shown as normal...while previously they would simply have remained hidden behind the "loading..." layer. additionally, the messy browser sniffing has been replaced with a lean "capability check". see the (reasonably well documented) source code for further details.

updated to work in Opera - many thanks to steve clay for the small fix.

completed:
05/11/2004
modified:
13/04/2006

view this experiment