javascript reflection for images

September 1, 2007

Simple and Easy way to create reflection to images using javascript in 2 steps, check out demo .

Step 1: download reflection.js and place it in ur web site folder so that u can include this file to your site,

Way to include reflection.js to ur site

<script language=”javascript” src=”reflection.js” type=”text/javascript”>
</script>

Step 2: just you need to put class=”reflect” in your image tag.

Code

<img src=”http://webdesigninfostuff.googlepages.com/webdesignj.png&#8221; class=”reflect” />

That’s it isnt simple 🙂

download complete file reflect.zip

Visit http://cow.neondragon.net for more reflections.

Advertisements