Christian: anfänger frage - function - this

Beitrag lesen

Hi,

die funktions-aufruf sollte dann so aussehen

onmouseover="hell(this)"

function hell(img) {
img.style.filter = "alpha(opacity=100)"
}
function dunkel(img) {
img.style.filter = "alpha(opacity=80)"
}

Christian