help supressing font,bgcolor changes in upper most menu only

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Young
Beginner
Beginner
Posts: 5
Joined: Mon Mar 15, 2004 9:23 pm

help supressing font,bgcolor changes in upper most menu only

Post by Young »

Hello, I wonered if it was possible to make the upper most menu objects NOT be able to change bgcolors and font colors when the mouse is passed over them, BUT allow the font and bgcolor to change in the sub menus. I have buttons that need to be on top of the dhtml menu, and it is quite annoying to move your mouse to the button but have the dhtml menu highlight because your mouse moves across the dhtml.

I want the font and bgcolor to only change once you have clicked on the upper most menu.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

You need to make a separate style for you submenus, to get started just copy the menustyles, then where you see menustyle=

Change the menustyle name, both in the style and its reference.

Now you have main menu and submenu styles.

Then remove everything you don't want in the main menu style.

Pagecolor is what you use to only show the active page.

maz
Young
Beginner
Beginner
Posts: 5
Joined: Mon Mar 15, 2004 9:23 pm

Post by Young »

Thank you very much for the direction as well as the small explanation. I spent a bit of time searching for "style" and "sytle=" in the forum search since I figured that might be the key to my problem. But as you can expect, the results were many and ambigious.

Thanks again. It worked!
Maz wrote:You need to make a separate style for you submenus, to get started just copy the menustyles, then where you see menustyle=

Change the menustyle name, both in the style and its reference.

Now you have main menu and submenu styles.

Then remove everything you don't want in the main menu style.

Pagecolor is what you use to only show the active page.

maz
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I know I wrote samples some time ago, but figured you'd figure it out, also remember to look at the Milonic site for references for styles you can use.

maz
Post Reply