View Full Version : Image Reflexion effect

04-18-2009, 04:31 PM
I am very new at this, i am building my webpage and came acrros this script for image reflexion tha I would like to apply to a series of small pictures.
I follow all the instructions for the script and also follow the instructions to solve the problem but still does not work . It only works when I use one picture but when I start adding the image reflexion to the other everything stops. Here is the script I am using.

<!--Change following reflection image to your own-->
<img id="reflect" src="reflect.jpg">
<script language="JavaScript1.2">

Image reflection script (Submitted by Savio, savio_d_souza@hotmail.com)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com

function f1(){

if (document.all){
document.write('<img id=mdiv src="'+document.all.reflect.src+'" style="filter:wave(strength=3,freq=3,phase=0,lightstrength=30) blur() flipv()">')


04-19-2009, 08:30 PM
This isn't Flash, try the Javascript forum for better luck!