/ Published in: JavaScript
<p>How to use: HTML:
<img id="image" src="image.png" alt=""/></p>
<p>JavaScript:
add_reflection (document.getElementById ( 'image'), 1, 1, 0.1, 0); </p>
<p>As a result, the script wrap image in the div, ask him to the desired height and width and put reflection of image</p>
<p>PS Sorry for my english</p>
<img id="image" src="image.png" alt=""/></p>
<p>JavaScript:
add_reflection (document.getElementById ( 'image'), 1, 1, 0.1, 0); </p>
<p>As a result, the script wrap image in the div, ask him to the desired height and width and put reflection of image</p>
<p>PS Sorry for my english</p>
URL: http://blog.sjinks.org.ua/javascript/356-image-reflection-with-javascript/