Hi,
I think the root of the problem is that you're using RC7. There have been a few improvements since 7. The current release is RC30; you can get it
here (note that you must log in before you can download). Once you unzip the download file, upload milonic_src.js, mmenudom.js, and mmenuns4.js to your web server, replacing the older version of these three files with the new ones you downloaded.
I tried your code with RC30, and it works without growing the menu. Since the scriptpath variable was removed from the menu source code, you'll have to edit your html file a little. Replace the following:
Code: Select all
<script language="JavaScript" src="milonic_src.js" type="text/javascript"></script>
<script language="JavaScript" src="menu_data.js" type="text/javascript"></script>
with this:
Code: Select all
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
You might also want to read the .txt files that come with the download.
Hope that helps,
Kevin