Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: ,

Sponsored Links


JavaScript error: menu is not defined

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-10-2009
Member
 
Join Date: Jun 2009
Posts: 59
JavaScript error: menu is not defined

Sponsored Links
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 :

Quote:
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?

Reply With Quote
  #2  
Old 20-10-2009
Member
 
Join Date: Nov 2008
Posts: 1,055
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.
Reply With Quote
  #3  
Old 20-10-2009
MindSpace's Avatar
Member
 
Join Date: Feb 2008
Posts: 1,839
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;
Reply With Quote
  #4  
Old 20-10-2009
kelfro's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,989
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 08:25 PM.