Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:54

'_MS.overfilter' is null or not an object


Poster: rpieszak
Dated: Friday February 11 2005 - 1:22:19 GMT

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!


Poster: Ruth
Dated: Friday February 11 2005 - 3:05:43 GMT

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


Poster: rpieszak
Dated: Friday February 11 2005 - 4:20:41 GMT

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.