CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   DOM and JSON scripting (http://www.codingforums.com/forumdisplay.php?f=15)
-   -   error message on internet explorer (http://www.codingforums.com/showthread.php?t=266123)

sallyhargraves 06-24-2012 10:44 AM

error message on internet explorer
 
HI I am helping a non profit organisation with their website.

www.jesterskidsclub.org

The drop down menu's are now not working on interent explorer. They are fine on firefox or chrome

This is the error message i receive

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C)
Timestamp: Sun, 24 Jun 2012 09:38:54 UTC


Message: 'd.getElementById(...)' is null or not an object
Line: 2
Char: 2723
Code: 0
URI: http://www.jesterskidsclub.org/xaramenu.js

jonathansampson 06-25-2012 12:53 AM

The problem is actually in jesters.js, on line 41:

Code:

36: startSubmenu("jesters_b6", "jesters_menu", 139);
...
41: endSubmenu("jesters_b5");

Note how your code begins creating "jesters_b6" but it tries to end "jesters_b5". Jesters_b5 doesn't exist yet, so it can't end it. You need to change line 41 to the following:

Code:

endSubmenu("jesters_b6");
Note that the code for jesters_b5 starts on line 42.

sallyhargraves 06-25-2012 02:24 PM

You are a star thank you :thumbsup:


All times are GMT +1. The time now is 03:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.