javascript reflection for images

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

4 Responses to javascript reflection for images

  1. Dennis Ling says:

    Very interesting and highly educational

  2. deepanjali says:

    Your blog is nice. I think you should add your blog at http://www.blogadda.com and let more people discover your blog. It’s a great place for Indian bloggers to be in and I am sure it would do wonders for your blog.

  3. aznhamzah says:

    Great, i’ll try it

  4. Wind Mil says:

    hi setty,
    i was clueless until i found your site on google search. your solution worked perfectly for the image that i needed to reflect on my blog sidebar. thanks for your great solution.
    Wind Mill

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: