reflection.js version 0.4

January 11th, 2006

As mentioned previously, I have updated reflection.js with some changes based on those by Andreas Linde. This update fixes issues with floated images and other CSS styles.

For example, if you added padding to the image, the old behavior was that there was padding around the original image and thus a gap between the image and the reflection. This update changes this behaviour so the padding is around both the image and the reflection.

The demonstration has been updated to use the updated script.

Let me know if your using reflection.js, it’s been interesting seeing the creative ways some of you have put it to use.  

    

About Ken
Ken Lo

My mission is to demystify the world of mobile technology for general audiences and to communicate how mobile technology can enhance every aspect of our daily lives. I've been maintaining the Ken's Tech Tips website since 2004.

I have experience communicating mobile technology and presenting new mobile products both online and offline, including at various trade shows and events. You can check out my profile or drop me an e-mail.

Like this tip? Get the most from your mobile phone...

  • Discover brand new ways to use your mobile phone
  • Techniques to get more out of your mobile phone for less
  • Be the first to learn about new mobile technology

Enter your email to receive free regular Ken's Tech Tips:

  • Reflection
  • Comments(2)

2 Responses to “reflection.js version 0.4”

  1. Stephenrson 29 Jan 2006 at 1:05 am

    thanks for a very cool addition to my development/design arsenal (reflection.js).

    i use other prototype-based packages, so i’m just wondering which version of prototype reflection is based on. could you please publish this with the releases?…or did i just miss it?

     thanks,

     

    stephenrs 

     

    oops: i see it in the prototype.js file…nevermind…sorry for the noise 

  2. Khloon 29 Jan 2006 at 8:47 pm

    It’ll work with any version of prototype.js I believe :)

Trackback URI | Comments RSS

Leave a Reply