Menuitem bold if selected

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Menuitem bold if selected

Post by Martin »

Hi,

If an menu item is selected, i usualy add a bold tag around the text of the menu item.

It might be simpler, if the menu system supports this feature, like you do with "pagebgcolor" or "pagecolor".

I'm missing a parameter like "pagefontweight". It should accept values like "bold" and/or "italic".
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You can set onbold in Styles or Menu Items to handle that.

Check the Quick Ref Guides.
John
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Post by Martin »

I can't find the syntax for "onbold".

i tried onbold='true', but it does not work.

Thank you
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Try onbold=1.
John
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Post by Martin »

It works now with onbold='1' on a Rollover, but not on a selected item.

Any idea?

thanks
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Sorry - misunderstood.

Define a css for what you need and use pageclass to call it. See http://milonic.com/forum/viewtopic.php?t=3267 for a discussion (scroll down a bit to Kevin's post).
John
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Post by Martin »

That's cool, i found the things i have to do!

Thanks again.
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
Post Reply