The example in this article describes the method of javascript sensing mouse image transparency. Share it with everyone for your reference. The specific implementation method is as follows:
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}
I hope this article will be helpful to everyone’s JavaScript programming design.