CodeCorey

Hello,

I was wondering how to do a mouseover in ASP.NET (I prefer client side coding for this).

For example:
If I want a simple image to change to another when the mouse is hovering/moved over the image.
This image should also be a hyperlink. I assuming client side coding will be the easist...

Any help will be greatly appreciated.



Re: Visual C# Express Edition MOUSE OVER help!

rauhanlinnake

Client side coding is the only way. JavaScript is most typically used to create roll over buttons. I'm not sure is there a ready ASP.NET component which creates the functionality But here is a tutorial which describes how to create your own (check if there is a ready implementation in the Toolbox of visual studio before implementing this!).




Re: Visual C# Express Edition MOUSE OVER help!

jgalley

You can create rollover effect with style sheets as well.

The sliding window strategy is particularly nice as you don't have to worry about pre-fetching the rollover image.





Re: Visual C# Express Edition MOUSE OVER help!

CodeCorey

whats the sliding window strategy





Re: Visual C# Express Edition MOUSE OVER help!

jgalley

a quick google gave me this link that is a nice clear description:

http://www.elated.com/articles/css-rollover-buttons/





Re: Visual C# Express Edition MOUSE OVER help!

CodeCorey

Thank you for your help!

What is a good site or program used to make my own buttons. For example - if I wanted to make custom web page graphic buttons ...instead of a link that says "my link" in plain simple, typical font... how can I make a more exciting button with a color and graphics of my choice





Re: Visual C# Express Edition MOUSE OVER help!

jgalley

I like Paint Shop Pro. I am using an older version from before it was sold to Corel. It works perfectly well





Re: Visual C# Express Edition MOUSE OVER help!

CodeCorey

thank you very much. I will download it