Results 1 to 6 of 6

Thread: Gradual Fader Not Working

  1. #1
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    197
    Thanks
    43
    Thanked 1 Time in 1 Post

    Default Gradual Fader Not Working

    1) Script Title: Gradual Element Fader

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...adualfader.htm

    3) Describe problem: I cannot get the script to work on my test page: http://www.flimpact.org/fhdc/testing.html I've checked the CSS to see if something is interferring, but cannot figure this out (http://www.flimpact.org/fhdc/css2.css)

    I've used this script successfully before - http://flimpact.org/partnership/index.html - but I just can't figure out what I'm doing wrong this time.

    Any help would be appreciated.
    Thanks,
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

  2. #2
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    596
    Thanks
    43
    Thanked 28 Times in 28 Posts

    Default

    When I source your page and check the js page it does not exist

    <script type="text/javascript" src="/fhdc/scripts/gradualfader.js"></script>

    Check the location of this file and correct it and it hopefully will work.
    Thanks,

    Bud

  3. #3
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    197
    Thanks
    43
    Thanked 1 Time in 1 Post

    Default

    Hi Bud,
    Thanks for looking at it. I've fixed that (I had multiple test pages and links to the script and am now down to one).

    It's now working, but incorrectly: http://www.flimpact.org/fhdc/testing.html

    The first 3 items across the top do NOT have the class "gradualfader" applied and are the correct color. The last three items have the "gradualfader" class, but are appearing faded when the page loads and are not changing on hover.
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,982
    Thanks
    16
    Thanked 311 Times in 309 Posts
    Blog Entries
    11

    Default

    I think you're missing step 2 from the demo page

    Code:
    <script type="text/javascript">
    gradualFader.init() //activate gradual fader
    </script>
    should be above the closing body tag

    Excuse me if that's inaccurate - I'm on iPhone and using a new source code app
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  5. The Following User Says Thank You to Beverleyh For This Useful Post:

    dmwhipp (11-22-2012)

  6. #5
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    197
    Thanks
    43
    Thanked 1 Time in 1 Post

    Default

    Jeez... I played with that for almost an hour and cannot believed I missed something so simple. Thanks!
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

  7. #6
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,982
    Thanks
    16
    Thanked 311 Times in 309 Posts
    Blog Entries
    11

    Default

    ha, ha - no problem.

    Sometimes it just takes a fresh pair of eyes
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

Similar Threads

  1. gradual fader not working with other scripts?
    By anaelegance in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 08-29-2010, 01:04 PM
  2. gradual fader help
    By haylzee in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 01-19-2009, 04:42 PM
  3. Gradual Fader Help (need to do the opposite)
    By kafure design group in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-21-2008, 06:50 AM
  4. Gradual Fader
    By metdude72 in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 02-20-2008, 12:58 AM
  5. Gradual Element fader help please.
    By AndyC_65 in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 01-24-2008, 11:16 AM

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
  •