Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image Reflexion effect

    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">
    <br>
    <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(){
    setInterval("mdiv.filters.wave.phase+=10",100);
    }

    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()">')
    window.onload=f1
    }

    </script>

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    This isn't Flash, try the Javascript forum for better luck!
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •