Click here to Skip to main content
15,891,863 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to Reduce the opacity of an image dynamically in web application like 100%,75%,50%,25%,0% how can i do this.
Posted

If you are willing to use jQuery (and it is much simpler to use it) you can use fadeOut[^], this fades out completely and you can introduce an easing function to make the fade more pleasing. If you want to set an end opactiy, you can use fadeTo[^]
 
Share this answer
 
 
Share this answer
 
Comments
Keith Barrow 4-Jan-13 4:48am    
Not sure why you got down-voted, I countered this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900