Home All Groups Group Topic Archive Search About

Three buttons - one is pressed down

Author
8 Jun 2005 7:27 PM
Net Developer
I want to have three 'buttons' that let the user choice alignment choices.
I'd like to have it so that the one that is selected is 'depressed' so that
they can visually see which one is selected. Is there a better way to do it
than to have two versions of the image - one up and one down - and check on
page load the value and make the image appropriate dependent on the state
(for inst - button 1 up, button 2 down, button 3 up)

TIA - Jeff.

Author
8 Jun 2005 8:15 PM
Mythran
"Net Developer" <NetDevelo***@discussions.microsoft.com> wrote in message
news:A2159BAD-1FDA-401F-97CE-B1D964DA7859@microsoft.com...
>I want to have three 'buttons' that let the user choice alignment choices.
> I'd like to have it so that the one that is selected is 'depressed' so
> that
> they can visually see which one is selected. Is there a better way to do
> it
> than to have two versions of the image - one up and one down - and check
> on
> page load the value and make the image appropriate dependent on the state
> (for inst - button 1 up, button 2 down, button 3 up)
>
> TIA - Jeff.

I would do it using a span tag and DHTML with client-side javascript :)

Mythran