Upgrade to latest RC changed my menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
bonewalker
Super Advanced
Super Advanced
Posts: 40
Joined: Tue Aug 19, 2003 10:35 pm

Upgrade to latest RC changed my menu

Post by bonewalker »

Hey all,

Can anyone tell me why each time I upgrade to the latest menu version, but I use the same menu_data.js file, my menu coloring and bgimage options change?

I am sure I am doing something wrong, I just don't know what it is.

http://www.bakeru.edu/site_test/test/

Thanks,

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

Post by John »

Hey BW - been hiding?

Can't answer why things would be changing (are you saying that colors, etc., are being changed in your _data file?), but I do see some things I would suggest you clean up...

1. Your offcolor="#00204e"; is almost dead on with the background of the whole page, so I can't really see there's a menu there until I mouseOver it and the color changes.

2. Items that are not being used can be left out; e.g.,
bordercolor="";
borderstyle="";
bordercolor="";
followscroll=0;

Note you have bordercolor 'defined' twice.

3. Your menu items look like this...
aI("text=Faculty/Staff;url=http://bumail.bakeru.edu;separatorsize=0")
'Correct' is...
aI("text=Faculty/Staff;url=http://bumail.bakeru.edu;separatorsize=0;");

Note the 2 additional ; at the end.

4. I think you need to close up the items in your <body>, now as...
<body bgcolor=12305A text=12305A link=12305A alink=12305A vlink=12305A>

...to...

<body bgcolor="#12305A" text="#12305A" link="#12305A" alink="#12305A" vlink="#12305A">

There are quite a few other items in your HTML that W3C is complaining about. Run the page through http://validator.w3.org/.

Clean that up, then let us know how it's going.
John
User avatar
bonewalker
Super Advanced
Super Advanced
Posts: 40
Joined: Tue Aug 19, 2003 10:35 pm

Post by bonewalker »

There are quite a few other items in your HTML that W3C is complaining about. Run the page through http://validator.w3.org/.
Sure thing. Good suggestions.

However, in the meantime, I have been playing with it a bit.

Right now, it seems strange to me that I have the bgimage defined, and it worked in previous RC's, but now it doesn't. That is mostly what I need, then those link colors won't match the bgcolor at all and will stand out.

Thanks.

P.S. Wasn't deliberately hiding, just busy with various and sundry other items, as the boss likes to call them. :)
User avatar
bonewalker
Super Advanced
Super Advanced
Posts: 40
Joined: Tue Aug 19, 2003 10:35 pm

Post by bonewalker »

Can't answer why things would be changing (are you saying that colors, etc., are being changed in your _data file?)
Forgot to discuss this:

Basically, yes. The separator color is appearing as a cyan, when I had it as blank... like so: separatorcolor="";

To remove it, I had to change the separator size to 0...I had them in there to help get my menu width to the exact size I wanted.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

One of the main things the validator is complaining about is the complete lack of " in your code. Example...

<img src=bar5_orange.jpg>

That might all change with...

<img src="bar5_orange.jpg">

Also, you can remove the 'effect...' line you have at the top of _data. You're not using it, and it's no longer called that way.
John
User avatar
bonewalker
Super Advanced
Super Advanced
Posts: 40
Joined: Tue Aug 19, 2003 10:35 pm

Post by bonewalker »

Working on it furiously as we speak!
User avatar
bonewalker
Super Advanced
Super Advanced
Posts: 40
Joined: Tue Aug 19, 2003 10:35 pm

Post by bonewalker »

Hmm...still no luck with the bgimage setting...

Has it been removed. I see it on the list of style properties, but there are no comments for it all.

It used to work just fine.

Thanks,

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

Post by John »

You have it coded as a menu property, which it is not, It is a menuitem and a style property.

If you want all main menu items to have the same background, connected as "one item", see http://milonic.com/menusample.php?sampleid=19.
John
Post Reply