-
runtime error in Chrome CSS Drop Down Menu (v2.5)
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:
when running this script in visual studio 2008 i receive the following error:
A Runtime Error has occurred.
Do you wish to Debug?
Line: 165
Error: Object required
here is what the code looks like at this location:
164 addEvent:function(target, functionref, tasktype){
165 if (target.addEventListener)
166 target.addEventListener(tasktype, functionref, false);
167 else if (target.attachEvent)
168 target.attachEvent('on'+tasktype, function(){returnfunctionref.call(target, window.event)});
169},
i'm pretty new to Java script...any help is greatly appreciated
thx
-
-
What about in an actual browser though? In MS Frontpage for example, I often get JS errors that do not occur in browsers. That's because the HTML editor is using an outdated browser/ JavaScript engine that has no bearing on modern day browsers.
DD Admin
-
The Following User Says Thank You to ddadmin For This Useful Post:
-
i'm getting the error in IE7 as well
-
-
The script was tested on and does work in IE7, at least for me. Do you get the same error when viewing the DD demo in IE7? if not it could be something specific on your page, and in that case please post a link to the problem page.
DD Admin
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks