Thomas Fuchs
Hi, I'm Thomas Fuchs. I'm the author of Zepto.js, of, and I'm a Ruby on Rails core alumnus. With Amy Hoy I'm building cheerful software, like Noko Time Tracking and Every Time Zone and write books like
   Want me to speak at your conference? Contact me!

Like reflections? Try the Reflector.

April 27th, 2006 Reflector

Like those shiny reflections on web pages? Here’s a little bit of code to play with. It’s called the Reflector.

Currently reported to work on IE 6, Firefox, Safari, and Opera, (although not in the currently released version of Safari– if anyone finds out why, i’ll update it)- Update: Fixed, thanks to Green.

It’s not really meant for production use yet, as it will probably introduce performance issues and other nasty things, but it’s always refreshingly nice to see what a few lines of Prototype and code can do.

Have fun!

Update 2: I’ve cleaned up the demo page/code and added some usage hints. Anyway, the “is not really meant for production use” warning is still up, so use at your own risk. 🙂

Oh yes: If you like, digg this. 🙂