Creating a 3 State Rollover Button

  • Thread starter Thread starter thechaosengine
  • Start date Start date
T

thechaosengine

Hi all,

Can anyone tell me what I need to do to create a 3 stage rolloever button
out of an asp.net image control.

I don't know too much about javascript or creating user controls. I'm really
hoping that someone can just tell me if there is an easy way to do it.

I normally use Dreamweaver for creating the rollover but thats just for normal
images, not server side controls. Is there any way I can use the code that
dreamweaver generates and somehow incorporate it into the <asp:imagebutton
..... > code?

One last thing: I really would like the button to be a 3 state button, so
that when you click on it it has that 'pressed' look as well as the standard
2 rollover states

Any advice would be greatfully received

Kindest Regards

tce
 
the easy way is to use dreamweaver. just catch the button postback yourself
in the onload event. just be sure to assign a name and value to the image
button.

if (Request.Form["mybuttonname'] != null)
doButtonClick();

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top