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

Like reflections? Try the Reflector.

April 27th, 2006

script.aculo.us Reflector

Like those shiny reflections on web pages? Here’s a little bit of code to play with. It’s called the script.aculo.us 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 script.aculo.us 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. :)