1) Script Title: Chrome CSS Drop Down Menu (v2.5)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm
3) Describe problem:
I am trying to implement the CSS drop down menu, but i keep getting an error in IE and the FF Console Error Log:
http://clients.eyenovation.com/openh...menu_test.html
It's something to do with the chrome.js and the error I get is "target is null." Supposedly it's on line 165 - but when I look at the line of code, it has nothing to do with referencing a target.
Anyone that can help me here would be a hero. We're willing to pay if need be for an expedient solution. My guess is it's something to do with this:
But I could use some serious help.Code:addEvent:function(target, functionref, tasktype){ if (target.addEventListener) target.addEventListener(tasktype, functionref, false); else if (target.attachEvent) target.attachEvent('on'+tasktype, function(){return functionref.call(target, window.event)}); },



Reply With Quote
I totally blew it on that one. Simple mistake.

Bookmarks