Results 1 to 3 of 3
  1. #1
    Senior Member tiffany's Avatar
    Join Date
    Sep 2003
    Posts
    860

    Java-script assistance please

    I've been teaching myself HTML over the semester break, so I can do my own website.
    (yes, I have front-page and dream-weaver etc, but it's more fun, and frustrating writing it myself!)
    On one of the photos I want to put up, I have a java-script that creates a reflection below the image, and I need to change it so that it reflects the image to the right.
    Can anyone help with this? I haven't progressed to j/script yet and don't know how to manipulate it.
    Here's the script.

    <img id="reflect" src="reflect.jpg">
    <br>
    <script language="JavaScript1.2">
    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,light strength=30) blur() flipv()">')
    window.onload=f1
    }

    Thanks.
    "The significant problems we face cannot be solved at the same level of thinking we were at when we created them."
    - Albert Einstein (1879-1955)

  2. #2
    Senior Member nbreau's Avatar
    Join Date
    Mar 2003
    Posts
    671
    from what i can tell you have to change the location of the document.write line in the page (but it's hard to tell without the full document)
    ======================
    sold the 77gallon back in 2005, looking to setup a nano

  3. #3
    Senior Member tiffany's Avatar
    Join Date
    Sep 2003
    Posts
    860
    It says to add the script to the < body> section where you want the reflection to be seen, and I did some adjusting, but when I put it on the right hand side the reflection is upside-down, so that means it's still taking the reflection from the bottom.
    Do you know how to flip it, and maybe even only show the reflection and not the pic?????
    "The significant problems we face cannot be solved at the same level of thinking we were at when we created them."
    - Albert Einstein (1879-1955)

Similar Threads

  1. Complicated water assistance (long).
    By PomPom1 in forum Water Quality
    Replies: 32
    Last Post: 09-28-2008, 03:03 PM
  2. Intruder I.D. Assistance Please
    By reefgeek110 in forum Reef Discussion
    Replies: 10
    Last Post: 11-03-2007, 11:36 AM
  3. Sump assistance
    By JHG in forum ARRG
    Replies: 14
    Last Post: 12-15-2005, 05:39 AM
  4. Tank change, Assistance needed!
    By Toooloud in forum Reef Discussion
    Replies: 2
    Last Post: 06-06-2004, 09:43 PM
  5. Planning assistance for future tank?
    By sara in forum Just Getting Started
    Replies: 6
    Last Post: 06-06-2004, 05:54 PM

Posting Permissions

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