Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing alpha property of an image onmouseover

Status
Not open for further replies.

davikokar

Technical User
May 13, 2004
523
IT
Hallo,

I would like to know if it's possible to change the alpha (transparency) property of an image when I point on it with the cursor. What objects or properties should I have a look at? Have you seen some examples of it? thanks
 
You're probably better off looking for a javascript function to do this as it will have to be done client side. Try asking in the javascript forum (forum216).

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
hallo ca8msm,
actually I have a javascript function that does this job, but it doesn't work in aspx pages with smartnavigation enabled, so i was thinking that maybe if I do everything by using visual basic there wouldn't be any problem.
 
maybe if I do everything by using visual basic there wouldn't be any problem
Any VB.NET code that you write will run on the server and your problem is that you want to use a event that happens client-side (i.e. on the clients browser).

If you have a javascript method that works without smartnavigation, why don't you just turn it off (you can always implement your own version as there are a number of alternatives you can use to provide the same functionality).

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top