Results 1 to 3 of 3

Thread: Issue with object expected on line 166 for Chrome CSS Drop Down Menu (v2.5)

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Issue with object expected on line 166 for Chrome CSS Drop Down Menu (v2.5)

    Chrome CSS Drop Down Menu (v2.5)

    Script URL (on DD):
    http://www.dynamicdrive.com/dynamicindex1/chrome/

    Recently we have added the Chrome CSS Drop Down Menu navigation on our website.
    http://www.lifecoachretreats.com/

    However we are getting the yellow triangle warning icon that displays at the bottom left hand corner of a browser.

    The following error displays.

    Line 166
    Char 2
    Error- Object required
    Code 0

    Our webmaster here suggested the error might be the following:
    The error appears to be in the java script file, chrome.js, line 166 in this file, target.addEventListener(tasktype, functionref, false); target is not defined.

    I'm clueless but it's probably something that is so obvious LOL

    Hoping you would know what exactly the problem is. I'm viewing it in IE6 but showing up like this in IE 7 too.

    If you can let us know asap what we need to do to fix this issue since it's showing up on all pages.

    Thanks again.

  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

    Here:

    Code:
    <li><a href="http://www.lifecoachretreats.com/life-coach-training.html" rel="dropmenu3">Certified Life Coach Training</a></li>
    There is no dropmenu3. Either make one, or remove rel="dropmenu3" from that link. The error comes because the script is looking for a dropmenu division with the id of dropmenu3 and of course cannot find one.
    - John
    ________________________

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

  3. #3
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much! Of course it would be something so obvious LOL...

    Don't know how we missed that.....

    Again we certainly appreciate your help.

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
  •