Like reflections? Try the Reflector.
April 27th, 2006 by Thomas Fuchs, Comments OffLike 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.
Tweet This Post
Digg This Post
Share on Facebook









Do you run a web site or web application? Do your users a favor, and grab our ebook on JavaScript performance. Profit from our knowledge gathered in over 15 years of working with the Web and JavaScript and make your sites ultra-fast and your users ultra-happy.