Can someone give me a simple code of hovering my mouse into a picture in a html then the picture automatically has a white light fade on it thanks... I've been searching over the internet and they're just giving me a fade effect... I just wanted a simple white highlight effect on the picture

I mean an opacity for 100% to 40%

[

<img src="abc.jpg" style="opacity:1;filter:alpha(opacity=100)" 
onmouseover="this.style.opacity=0.4;this.filter.alpha.opacity=40" 
onmmouseout="this.style.opacity=1;this.filter.alpha.opacity=100"

I was able to got it a while ago thanks though

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.