Keeping button like menu in a depressed / down / focus state

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Deere-Steve
Advanced
Advanced
Posts: 12
Joined: Wed Apr 11, 2007 4:26 pm

Keeping button like menu in a depressed / down / focus state

Post by Deere-Steve »

We have floating menus across the bottom of our application that look like a row of buttons and would like the last button pressed to show some kind of focus.

This focus could be like any html button that you click on or hold the mouse down on and move off or maybe some kind of transition effect. Basically, something to let the user know that they clicked the menu button so they don't keep clicking it.

Here is our menu definition:

with(buttonMenuStyle=new mm_style()){
headerborder="3px outset #CC9933";
headerbgcolor="black";
onborder="3px inset #CC9933";
align="center";
fontfamily="arial, helvetica, sans";
fontsize="8pt";
fontstyle="bold";
fontweight="900"
itemheight=23;
offcolor="#FFCC66";
oncolor="#FFCC66";
separatorimage="/images/transparent.gif";
separatorsize=5;
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#222222', Direction=135, Strength=6)";
}

Thanks in advance.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Keeping button like menu in a depressed / down / focus state

Post by Ruth »

Hi,

Have you tried using a clickbgcolor, or clickcolor or clickimage. I don't see any button image coded so don't know if you are using an image or not, if you are you could use a clickimage so the image changes when it is clicked. http://milonic.com/itemproperties.php You can find the various click properties here. There is also a clickclass so you could use css to set something up, just call the class in the items, since you are using the same style for those click items you could put it in the style section http://milonic.com/styleproperties.php

Hope that helps.

Ruth
Post Reply