Eyenigma
12-01-2009, 06:54 AM
1) Script Title: Chrome CSS Drop Down Menu (v2.5)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/chrome/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/openhousesinc/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:
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)});
},
But I could use some serious help.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/chrome/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/openhousesinc/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:
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)});
},
But I could use some serious help.