SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple JS Error -- but I don't know JS....

    Hi all.
    On one of my sites that I'm working on, I have a mouseover menu, where images switch, etc. I keep getting this error:
    'document.images[...]' is null or not an object
    I know where that piece of the code is, I just don't know what's making it act up. The page is located here:
    http://www.htmletc.net/tokeyclub/
    You're help is much appreciated. Thanks.
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  2. #2
    You talkin to me? Anarchos's Avatar
    Join Date
    Oct 2000
    Location
    Austin, TX
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When you call filter() the parameters need to be in quotes:
    filter(b179,b252) should be filter("b179","b252")
    ck :: bringing chris to the masses.

  3. #3
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I'll do that.
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  4. #4
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It needed single quotations instead of regular ones [i.e. filter('b179',b252') instead of filter("b179","252").] You sent me in the right direction though. Thanks Anarchos.
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.


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
  •