Floating images II (up down) All

    Credits: Bruce Anderson

    Description: Floating Images II animates any image (or block of HTML) up and down the browser window, like an elevator, and stays in view even if the user scrolls the page. Going up anyone?

    Demo: To your left...


    Directions:

    Simply add the below code to the BODY section of your page, preferably either at the beginning, or end:


    Configuring the script

    Configuration is very straight forward...simply modify the HTML portion of the script, and that's that. Refer to the variable too to see how to specify the x offset/ speed of effect.

    Note: This script accesses the body onload event, which, if another script on your page does the same, one will not function. Click here to learn how to resolve this type of conflict.

    Recommend Us!
    -If you like Dynamic Drive, please recommend us to a friend...

    Legend
    All- Script works with Netscape 4 AND Internet Explorer 4+
    NS- Indicates script works with Netscape 4 (NOT NS 6 yet)
    IE- Indicates script works with Internet Explorer 4 and above
    IE5- Indicates script works with Internet Explorer 5 and above
    NS6!- Temporary index set up on script category pages to indicate script works in NS6


    Copyright © 1998-2003 Dynamic Drive. Please read Terms Of Use here before using any of the scripts.

e-Card
Code Color