PDA

View Full Version : error: null is null or not an object



kristad
11-23-2011, 09:27 PM
1) Script Title: All Levels Navigational Menu

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

3) Describe problem: I am getting the following error at www.rayburns.com when viewing in IE.

Message: 'null' is null or not an object
Line: 338
Char: 2
Code: 0
URI: http://www.rayburns.com/ddlevelsfiles/ddlevelsmenu.js

Can someone help explain what this means and how to fix it? I can't find anything in the forum...

Thank you so much...
K.

ddadmin
11-25-2011, 03:54 AM
You have a initialization call to a DD Levels menu that's non existent. Remove the following from your page:


<script type="text/javascript">
ddlevelsmenu.setup("ddsidemenubar", "sidebar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
</script>

kristad
11-25-2011, 04:59 PM
Hi ddamdmin
Thanks for your quick response.
I removed the code you showed - it did not solve the problem... So not sure what to do... ( I put it back in)
K.