ChrisB: opacity in JS

Beitrag lesen

Hi,

document.aktuelles_foto.opacity = 0.5; //passt gar nicht ...

opacity ist eine CSS-Eigenschaft, also manipulierst du es sie jede andere CSS-Eigenschaft auch per JavaScript über das style-Objekt.

MfG ChrisB

--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]