View Full Version : MS jscript error in VS2008 with ddsmoothmenu

05-06-2010, 06:22 PM
1) Script Title: ddsmoothmenu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

3) Describe problem:

Following line in the 'buildmenu:function" generates script error, but does not seem to prevent anything from working properly (i.e. choose ignore in VS2008 and happily continues properly) Wondering what the issue is and how to fix.

>>> $mainmenu.parent().get(0).className=setting.classname || "ddsmoothmenu" <<<

Error generated is: Microsoft JScript runtime error: 'parent().get(...)' is null or not an object

Not relly a problem except when testing the site under VS2008 keeps breaking at this point. Trying to turn off script debugging in IE8 and VS2008 but obviouly haven't found the right place yet! any assistance would be appreciated.

Best regards, Dave Melnyk

05-07-2010, 07:19 AM
Please post a link to the page on your site that contains the problematic script so we can check it out.

06-22-2010, 12:08 AM
I'm getting the same error i IE 8.0.6:
Dynamic drive ddsmoothmenu breaking on runtime JScript
Located: http://www.creamontop.com/munari/index.html
line 54: $mainmenu.parent().get(0).className=setting.classname || "ddsmoothmenu"
Error: 'parent().get(...)'is null or not an object

08-26-2010, 07:01 PM
I'm getting this error on IE6

Line: 50
Char: 2
Error: 'parent().get(...)' is null or not an object
Code: 0
URL: http://www.thebdr.net/~john/thu.html