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

03-12-2009, 12:42 AM
Chrome CSS Drop Down Menu (v2.5)

Script URL (on DD):

Recently we have added the Chrome CSS Drop Down Menu navigation on our website.

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.

03-12-2009, 05:48 PM

<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.

03-12-2009, 09:00 PM
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.