onmouseover

  • Thread starter Thread starter Monty
  • Start date Start date
M

Monty

Hi, what is the simplest way to cause a "rollover" effect in ASP.net 2.0?
I tried Fireworks but no use.
I'm hoping someone has come across this before. I would like... buttonUp
state, buttonRollover and then finally, buttonDown.

Thank you, Monty
 
Hello Monty,

Use javasript properties for this by element.Attributes["onmouseover"]

M> Hi, what is the simplest way to cause a "rollover" effect in ASP.net
M> 2.0?
M> I tried Fireworks but no use.
M> I'm hoping someone has come across this before. I would like...
M> buttonUp
M> state, buttonRollover and then finally, buttonDown.
M> Thank you, Monty
M>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Hi Monty,

I am too familiar with Asp.Net 2.0 improvements yet. However, in 1.1 to
achieve what you need, I implemented a derivation of the Image Button
Control which does exactly what you need (except it had only two
states, but it would be trivial to add a third one).

It does basically what The post before this one mentions, but it
encapsulates the javascript code in the control (so that you don't have
to re-write the code again and again).

Also, it allows for a decent design time way of specifying the images
for each states (through the properties grid).

If you want, I could help you with code snippets.

Regards,
Vaibhav
 
Yes V, thanks for your offer. I have replied to you personally and then
will post the results so others can learn from this - Thanks
 
Back
Top