Results 1 to 2 of 2

Thread: need help with dynamic fader background please~

  1. #1
    Join Date
    Jun 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default need help with dynamic fader background please~

    im currently trying to use dynamic fader on my web.

    http://www.dynamicdrive.com/dynamicindex2/fader.htm

    everything works well with colored background. i wanted to change the bkgrd to image or transparent.. but it didnt work.. can someone help please? thanks~

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This script wasn't really meant to be used like that because it gets its ability to fade in and out by gradually changing the text color from and then to the background color. However, if you are willing to get a little creative, you can set the background color to transparent by changing only the second occurrence of this inside the external textfader.js script file:
    Code:
    TS.backgroundColor = TS_colorBG;
    to this:
    Code:
    TS.backgroundColor = 'transparent';
    Then somehow you need to get an image behind the Dynamic Fader. The easiest way is to set the background of the entire page to an image. Now comes the really creative part. Determine what the dominant color is in that part of the image that the Fader is operating over. Then set the on page part of the script to use that color as its background. If you've done your work well, you will have a Fader operating over an image. Works best with images that have a large area that is mostly one color to operate over.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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