Results 1 to 4 of 4

Thread: MS jscript error in VS2008 with ddsmoothmenu

  1. #1
    Join Date
    May 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default MS jscript error in VS2008 with ddsmoothmenu

    1) Script Title: ddsmoothmenu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...smoothmenu.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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  4. #4
    Join Date
    Aug 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •