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:41
Table menu
Poster: schultz224
Dated: Tuesday February 13 2007 - 15:16:00 GMT
Usually I can find an answer to my question with a simple search, but this time I honestly don’t know what’s wrong in order for me to do a proper search…
Here is the website:
http://www.supplychainenergy.org/index.asp
I’m just doing a very simple menu, with only one submenu call. As you’ll see from the page when you load everything looks great, but as soon as you mouse over the menu I get the ERROR ON PAGE in my browser bar at the bottom. I also can’t get the submenu to work, but I know it’s working because the colors are correct and so is the image… not sure what gives.
Code on page:
Code:
<LINK HREF="/style.css" REL="stylesheet">
</HEAD>
<BODY>
<script language=JavaScript src="/Script/milonic_src.js" type=text/javascript></script>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/Script/mmenuns4.js></scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=/Script/mmenudom.js></scr"+"ipt>");
</script>
<script language=JavaScript src="/Script/menu_data.js" type=text/javascript></script>
<TABLE WIDTH="780" BORDER="0" ALIGN="CENTER" CELLSPACING=0 CELLPADDING=2>
<TR>
<TD HEIGHT="134" COLSPAN="2">
<DIV ALIGN="CENTER"><IMG SRC="/Elements/header_EC.jpg" WIDTH="600" HEIGHT="91" border="1"></DIV>
</TD>
</TR>
<TR>
<TD width="35%" height="185" align=center valign="top">
<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="Vertical";
position="relative";
aI("text=Home;url=http://www.supplychainenergy.org/index.asp;");
aI("text=Register Now;showmenu=Samples;");
aI("text=Sessions and Speakers;url=/Speakers.asp;");
aI("text=Location;url=/Location.asp;");
aI("text=Where to Stay;url=/StayMIT.asp;");
aI("text=Contact;url=/Contact.asp;");
aI("text=About MIT-CTL;url=http://ctl.mit.edu/;");
aI("text=About CSCMP;url=http://cscmp.org;");
}
drawMenus();
</script>
</TD>
</HEAD>
<BODY>
<script language=JavaScript src="/Script/milonic_src.js" type=text/javascript></script>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/Script/mmenuns4.js></scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=/Script/mmenudom.js></scr"+"ipt>");
</script>
<script language=JavaScript src="/Script/menu_data.js" type=text/javascript></script>
<TABLE WIDTH="780" BORDER="0" ALIGN="CENTER" CELLSPACING=0 CELLPADDING=2>
<TR>
<TD HEIGHT="134" COLSPAN="2">
<DIV ALIGN="CENTER"><IMG SRC="/Elements/header_EC.jpg" WIDTH="600" HEIGHT="91" border="1"></DIV>
</TD>
</TR>
<TR>
<TD width="35%" height="185" align=center valign="top">
<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="Vertical";
position="relative";
aI("text=Home;url=http://www.supplychainenergy.org/index.asp;");
aI("text=Register Now;showmenu=Samples;");
aI("text=Sessions and Speakers;url=/Speakers.asp;");
aI("text=Location;url=/Location.asp;");
aI("text=Where to Stay;url=/StayMIT.asp;");
aI("text=Contact;url=/Contact.asp;");
aI("text=About MIT-CTL;url=http://ctl.mit.edu/;");
aI("text=About CSCMP;url=http://cscmp.org;");
}
drawMenus();
</script>
</TD>
==================================================
Menu_data.js
Code:
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
bordercolor="#000000";
.
. Normal Stuff
.
subimagepadding=2;
}
with(milonic=new menuname("Samples")){
overflow="scroll";
style=menuStyle;
aI("text=Online;url=http://www.cscmp.org;")
aI("text=Download;url=http://www.cscmp.org;")
}
drawMenus();
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
bordercolor="#000000";
.
. Normal Stuff
.
subimagepadding=2;
}
with(milonic=new menuname("Samples")){
overflow="scroll";
style=menuStyle;
aI("text=Online;url=http://www.cscmp.org;")
aI("text=Download;url=http://www.cscmp.org;")
}
drawMenus();
Thanks in advance for your time.
Poster: Ruth
Dated: Tuesday February 13 2007 - 18:36:36 GMT
Hi,
I couldn't find anything wrong in your data file and substituting my program files for yours, it works. I think perhaps one of your program files milonic_src, mmenudom might have gotten corrupted on upload. Try uploading them again and see if that fixes it.
Ruth
Poster: schultz224
Dated: Wednesday February 14 2007 - 13:13:29 GMT
Thanks for your reply, Ruth. Unfortunately that did not fix the issue. I downloaded sample 9 (relative table) examples along with sample 2 (plain vertical) menu and neither made any difference. I had the same result for both. I blew away what I had on the server and local before I extracted the files you mentioned.
Any other possible suggestions?
Thanks again in advance for your time.
Poster: schultz224
Dated: Wednesday February 14 2007 - 13:47:46 GMT
There must be something wrong with the files I downloaded. I have a set of those files I use on our main site from DEC 2003... when I subsituted those older files for the newer files, it works like a charm.
I'd like to use the updated files that belong to the new site...
Poster: John
Dated: Wednesday February 14 2007 - 14:36:29 GMT
While it shouldn't make a difference, try downloading from http://www.milonic.com/menuvinfo.php. Make sure you're logged in over there first. Also, as I'm sure you already know, upload the files in ASCII (straight text) mode, not 'automatic' or 'binary'.
When you're on the download page, you might want to try getting the pre-release as well. That would show us if something has gone wrong with the 5.770 version up there.