July 5th, 2006
Reflection.js and Lightbox
Reader Jon has managed to integrate Reflection.js with Lightbox.
Lightbox JS is a simple, unobtrusive script used to overlay images on the current page. It’s a snap to setup and works on all modern browsers.

Grab a modified version of Lightbox with Reflection.js. By default the lightbox version uses a height of 10% and an opacity of 20% which looks fabulous with larger images and photographs.
Cliches
Reflection.js was mentioned on 8 Web Design Clichés of 2006 (Coral Cache) which made Digg earlier today. Here’s what they said about reflections/wet floor effects:
Thankfully, I think this particular trend has died down somewhat, but for a while at least, you couldn’t move for the so-called ‘wet floor’ effect. Essentially an inverted reflection underneath your shiny logo, image, or photo with a gradient mask applied - giving the appearance that the image is perpendicular to a shiny surface.
I think Apple used this effect in one of their products, causing a surge in usage - similar to the ‘glass sphere’ button effect abused by Mac applications - although thankfully, most people realized that ‘wet floor’ is a nice gimmick, but not something to be overused.
It’s been quite interesting reading comments around the blogosphere; many people think reflections are a fad which are dieing out. I think they’ve still got a bit of life in them at Office 2007 has Reflections on WordArt, but I reckon people will probably get bored of them around the end of this year.
(It was interesting looking at the stats - I got about 2,500 hits from being linked off a Digg article and around 10,000 when directly linked from Digg)
I came across the article "Reflecting on Reflections":
But now, thanks to this single piece of javascript (that can automatically make images on your website appear with reflections), I think it’s truly going to be all over for the humble reflection.
It’s kind of a shame, I liked them for a while. Oh well, cool things always have to end up being uncool, else they were never cool in the first place I guess.
Oh my god, I killed Web 2.0.
Flash Reflections
This is not related to Reflection.js in any way but I stumped upon a component to do reflections in Flash. Sweet!
Reflection Height and Opacity
I came across rig.hteo.us in my comments which implements reflection.js and I think it looks fantastic. Their reflections use a 15% height and 15% opacity setting. The lightbox script above uses a height of 10% and an opacity of 20%.
By default, Reflection.js uses a height and opacity of 50%. I think this was mainly because when I was developing it, I used small 80×80 icons and logos and with these, a 50% height and opacity reflection looks fantastic. When you come on to bigger images, more subtle reflections tend to work better. The script.aculo.us reflector sets it’s default to 33% height and 33% opacity. This is probably a much more sensible default than the defaults of Reflection.js but I don’t want to change it as many people as it would change the behavior of reflection.js implementations when the script is updated.
When implementing reflections, make sure you fiddle around with the rheight and ropacity classes for optimal aesthetics.