Results 1 to 2 of 2

Thread: Runtime error: ddlevelsmenu is undefined

  1. #1
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Runtime error: ddlevelsmenu is undefined

    1) Script Title: All Levels Navigational Menu (v2.2)

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

    3) Describe problem:

    Everytime I try to view my page with this menu I get the runtime error specified in the title of the thread.

    Here is the chunk of code found at that line:

    Code:
    <script type="text/javascript">
    ddlevelsmenu.setup("ddtopmenubar", "topbar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
    </script>
    How do I fix this?
    Please help asap.
    thanks

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    You have to make sure you are calling the javascript file at the beginning of the document (between the head tags). Other than that, we need more information.

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

    See these threads for proper posting format when asking a question.
    http://www.dynamicdrive.com/forums/showthread.php?t=6
    http://www.dynamicdrive.com/forums/s...ad.php?t=19533
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

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
  •