Results 1 to 4 of 4

Thread: JavaScript error: menu is not defined

  1. #1
    Join Date
    Jun 2009
    Posts
    59

    JavaScript error: menu is not defined

    I am facing a weird problem with my JavaScript that I am unable to solve in my browser. When I click on any thing using java this message appear in the error console :

    Error: menu is not defined
    Source File: file_name
    Line: 5
    Can any one help me what this message means and how can I fix this error message?

  2. #2
    Join Date
    Nov 2008
    Posts
    1,054

    Re: JavaScript error: menu is not defined

    I have never came across this kind of error messages until yet but one thing I can suggest you is that validate your web page, you might get a lot of errors elsewhere in your HTML coding which may be buggy I suppose. Also check if your JavaScript file paths are correct.

  3. #3
    Join Date
    Feb 2008
    Posts
    1,852

    Re: JavaScript error: menu is not defined

    If the problem is only of Mozilla Firefox then simply add the below code in your JavaScript page:

    Code:
    fixMozillaZIndex=true; 
    _menuCloseDelay=500;
    _menuOpenDelay=150;
    _subOffsetTop=2;
    _subOffsetLeft=-2;

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: JavaScript error: menu is not defined

    Depending on JavaScript and browser side stuff is not a good idea if you want all your users to have the same experience. So you should also look at validating the page. If the problem is of IE then don't worry, may be the page you have is PHP encoded.

Similar Threads

  1. Word Error Bookmark not defined
    By RAIDEN in forum Windows Software
    Replies: 5
    Last Post: 03-02-2012, 03:20 AM
  2. Creating Menu with DHTML or Javascript
    By Cade in forum Software Development
    Replies: 5
    Last Post: 11-01-2010, 06:55 PM
  3. Javascript Tree Menu
    By Texas in forum Software Development
    Replies: 4
    Last Post: 07-11-2009, 08:44 PM
  4. Interner Explorer javascript menu error
    By Mozilla in forum Windows Software
    Replies: 3
    Last Post: 27-03-2009, 08:44 AM
  5. C# User defined function added in library but no error
    By RadhaV in forum Software Development
    Replies: 2
    Last Post: 12-02-2009, 07:04 PM

Tags for this Thread

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
  •  
Page generated in 1,714,239,445.72713 seconds with 17 queries