Please help with finding JS error on my page

Discussion in 'JavaScript' started by astretch, Apr 5, 2008.

  1. #1
    When I load www.astretchout.com I'm seeing some javascript errors that I can't fix.

    Please have a look at the page and send me some pointers on how to fix it.

    Thanks.
     
    astretch, Apr 5, 2008 IP
  2. hogan_h

    hogan_h Peon

    Messages:
    199
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For a starter you could comment the line
    
    ContentSlider("slider1", "", linktextarray)
    
    Code (markup):
    and change it to
    
    //ContentSlider("slider1", "", linktextarray)
    
    Code (markup):
    linktextarray isn't defined anywhere and you are already calling the function ContentSlider few lines before anyways, so you don't need the line above.
    There are other errors on the page, to track them down use FireFox and its "Error Console".
     
    hogan_h, Apr 5, 2008 IP