In my ExtJS 4 project, I am working on drawing an image inside a panel and slider field. My goal is to adjust the opacity of the image based on the value of the slider field.
I understand that I can use CSS rules like opacity
and filter:alpha(opacity=);
to change the opacity of the image.
But I am unsure of how to actually apply these CSS rules to the image. Can someone provide me with guidance on how to do this?