menubgimage reload after mouseover

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mg6205
Beginner
Beginner
Posts: 2
Joined: Mon Apr 04, 2005 9:55 pm

menubgimage reload after mouseover

Post by mg6205 »

I'm using menubgimage for the off-state on my main menu. When I mousover it shows the oncolor, as it should. When I mouseout the oncolor remains and the bgimage is not reloaded. The code for the main style follows. Also here is a link to the testing page so that you may see what I'm talking about:
http://www.chem.tamu.edu/css_test

Thanks in advance for any suggestions.

-Mike

Code: Select all

with(mainStyle=new mm_style()){
align="left";
onbgcolor="#EFEFF6";
oncolor="#000066";
//offbgcolor="#000066";
offcolor="#EFEFF6";
menubgimage="../images/right_back.gif"; //relative link is temporary as this is a test page
separatorcolor="#FFFFFF";
separatorsize="1";
padding=5;
fontsize="small";
fontstyle="normal";
fontfamily="Verdana, sans-serif";
pagecolor="#660000";
subimagepadding="2";
}
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Wow, you have to upgrade. You are a gazillion levels down. You are at a release candidate, that was a beta, even before the final release was done. We are now at final release 5.719, so there are about 40 release candidate releases plus about 80 more after the final release came out. We have no way to check the version you have and see what's going on. Log-in get the newest version [save the one you have just in case there's some conflict, though I didn't find one when I tested with the new one] Once you have the new version, code your main.js file with offbgcolor="transparent"; that will allow the menubgimage to show when you mouseoff after activating an item.

Ruth
mg6205
Beginner
Beginner
Posts: 2
Joined: Mon Apr 04, 2005 9:55 pm

Post by mg6205 »

I finally got the approval to renew my license and downloaded the upgrade. Works like a charm. Thanks. ;)

Mike
Post Reply