View Full Version : Chrome CSS - Need Help / Willing to Pay

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:


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.

12-02-2009, 09:14 AM
You have (in your HTML):

<li><a href="contact.html" rel="dropmenu7">Contact Us</a></li>

But there is no:

<div id="dropmenu7" class="dropmenudiv" . . .

Get rid of the rel="dropmenu7" from your link.

12-02-2009, 05:03 PM
Thanks, that was my problem. :rolleyes: I totally blew it on that one. Simple mistake.