Menu highlighting not working

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mtinnirella
Beginner
Beginner
Posts: 4
Joined: Tue Jul 19, 2005 2:51 pm

Menu highlighting not working

Post by mtinnirella »

My menu is not highlight where I am on my website. I have tried several things. my Milonic menu is in a table and I have read the help about putting the menu in a table but this didn't help. Any suggestions? thanks in advance. I have only worked on Director's office under programs. Other links may or may not work!!!

Here is my menu_data and a link to my page.

http://fnl.mprc.umaryland.edu/testarea

code for director.htm can be obtained by going to direcotr's office and viewing source.


_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset



with(menuStyle=new mm_style()){
onbgcolor="#2B2A92";
oncolor="#ffffff";
offbgcolor="black";
offcolor="#f0f0f0";
bordercolor="#f0f0f0";
borderstyle="solid";
borderwidth=0;
separatorcolor="white";
separatorsize="1";
padding=4;
fontsize="90%";
fontstyle="normal";
fontfamily="Arial Narrow";
pagecolor="black";
pagebgcolor="#DFD88E";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="script/arrows/arrow_d.gif";
subimagepadding="0";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

with(milonic=new menuname("Programs")){
style=menuStyle;
overflow="scroll";
aI("text=Director's Office;url=./director.htm;")
aI("text=Biostatistics;url=./main.php?t=biostatistics&b=biostatistics.htm&a=clearpixel.gif;pagematch=http://fnl.mprc.umaryland.edu/testarea/main.php?t=;");
aI("text=Functional Neuroimaging Laboratory;url=./fnl.php");
aI("text=Maryland Brain Collection;url=./main.php?t=MBC&b=mbc.htm&a=clearpixel.gif;");
aI("text=Neuroscience;url=./main.php?t=neuroscience&b=neuroscience.htm&a=clearpixel.gif;");
aI("text=Outpatient Research;url=./main.php?t=ORP&b=outpatient.htm&a=clearpixel.gif;");
aI("text=Schizophrenia Related Disorders;url=./main.php?t=SRD&b=srd.htm&a=clearpixel.gif;");
aI("text=Treatment Research Program;url=./main.php?t=TRP&b=trp.htm&a=clearpixel.gif;");
}
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Two problems need fixing first.

You're quite a bit down-level with your menu code. You have 5.33, current is 5.728. You'll need to upgrade that.

Also, your JS menu calls are out of order. The call to _data comes last in the chain of our four calls. See install.txt that comes in the download.
John
mtinnirella
Beginner
Beginner
Posts: 4
Joined: Tue Jul 19, 2005 2:51 pm

Post by mtinnirella »

I fixed the problems but still have the same issues.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

The 3 base program files have to match. You have to upload all three of them. Right now when I go to the page, the milonic_src.js file is 5.728, but the other two files, which you seem to have renamed to menudom and menuns4 are still the old files. That will not work. So the menu is not loading now and we have no way to test what's happening for the highlighting.

Ruth
mtinnirella
Beginner
Beginner
Posts: 4
Joined: Tue Jul 19, 2005 2:51 pm

Post by mtinnirella »

I jumped back down to 5.33. The server to grab the other files is down at the moment. But it still should work in 5.33 right?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Yes, the menu will work using the older version. But, we can't fix any problem as to highlighting while you use that.

Ruth
mtinnirella
Beginner
Beginner
Posts: 4
Joined: Tue Jul 19, 2005 2:51 pm

Post by mtinnirella »

But it works on this site with 5.33

http://www.mprc.umaryland.edu
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Support is provided for the latest version. We don't have any way to go back and try and figure out what's going on in an older version. We are volunteers we don't even have access to old versions.

I suggest, since this is a test page, you upload the new version to the test area so we can see what's going on. If you're going to use the old version, we don't have a way to help. Sorry.

Besides, you're losing a lot of added capabilities using the old version.

Ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Supporting only the most current version, in addition to what Ruth has explained, is Milonic policy. From the version page on the main site, in big red letters...

All Versions below this line are now obsolete and are no longer supported.

Your 5.33 is way below the line!

In many cases we have found that simply updating to the current version fixes the problem (not all cases, of course, but many). That alone is probably the main reason we will not waste time on shooting bugs on old versions - it's a waste of everybody's time if a simple (correct) upgrade will fix things.

Let us know when you get upgraded properly. If the problem is still there we'll be happy to work on it.
John
Post Reply