'_MS.overfilter' is null or not an object

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
rpieszak
Beginner
Beginner
Posts: 8
Joined: Fri Oct 08, 2004 2:36 am

'_MS.overfilter' is null or not an object

Post by rpieszak »

Greetings all,
I'm getting the following javascript error when page loads:

==========================
Line: 26
Char: 4860
Error: '_MS.overfilter' is null or not an object
Code:0
==========================

I've taken all the outfilter and overfilter calls out of the menu definition, but it seems like there is something missing. Where are these functions defined? Am I not including the proper js files? This is what I put in my page:

<script type="text/javascript" src="js/milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<SCRIPT LANGUAGE=JavaScript SRC=js/mmenuns4.js><\/SCRIPT>");
else _d.write("<SCRIPT LANGUAGE=JavaScript SRC=js/mmenudom.js><\/SCRIPT>");
</script>

I am not including the menu_data.js because I'm building the data dynamically on the page. I can post the menu definitions if needed. Also, I'm building the menu so that it rests inside a table cell, and I just upgraded to 5.712 (but I was having the same problem in 5.49).

Any help would be appreciated. Thanks!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

This is the coding on the Milonic site. You would of course use your own paths to the files. They also have coding for keeping someone from loading the site into their frameset in this call.

Code: Select all

<script src="/milonic_src.js" type=text/javascript></script>	
<script type="text/javascript">
if(parent.frames.length)top.location=document.location;
if(ns4)_d.write("<scr"+"ipt src=/mmenuns4.js type=text/javascript><\/scr"+"ipt>");		
  else _d.write("<scr"+"ipt src=/mmenudom.js type=text/javascript><\/scr"+"ipt>"); 
 </script>
What I note as differences are the "<scr"+"ipt scr= part of the code. If you have a link to a page it would be easier to check what's happening on the web.

Ruth
rpieszak
Beginner
Beginner
Posts: 8
Joined: Fri Oct 08, 2004 2:36 am

Post by rpieszak »

Yeah, it was my own stupidity.

I didn't understand how the styling worked, and I was leaving out the style assignments (style=menuStyle;). When I added them back in it worked fine.

Thanks for the reply.
Post Reply