Results 1 to 3 of 3

Thread: Top Navigational Bar III

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

    Default Top Navigational Bar III

    I am new to javascript so please bear with me.

    Having bulit a menu using Top Navigational Bar III I am encoutering a javascript error message in ie6 only "Error : Object expected"

    I have rebuilt the menu successfully three times, but when the page is closed and opened the error appears.

    A link to the problem page is as follows: http://www.scvo.org.uk/Equalities/

    this problem only displays in the ie browser to my knowledge

    thanks for your help

    DMGTO

  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

    The error is:

    Error: cP[(m - 1)] has no properties
    Source File: http://www.scvo.org.uk/Equalities/includes/sniffer.js
    Line: 4
    Char:5607

    IE calls it line 5 for some reason. NS7.2 also detects the error but, won't tell you about it unless you know how to ask.

    Chances are that if you replace this line in your page:
    HTML Code:
    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
    with this:
    HTML Code:
    <html>
    the error will go away but, it might mess other things up on your page. The page doesn't look like it needs that line though, at least not so much that it couldn't be rewritten without it and still look fine.
    - John
    ________________________

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

  3. #3
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Stray code causing the error

    I discovered that some stray code in the custom.js file reating to child menu caused the problem.

    Thanks for anyone who looked at this problem.

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
  •