MouseOver mit MicrosoftFilter
Mike
- html
tach alle, ich möchte bei einem mouseover ein bild wechseln das in einer tabelle steckt, zusätlich jedoch mit dem filter:
style="filter:Alpha(opacity=100, finishopacity=0, style=2)"
damit das eingeblendete bild transparent erscheint,
meine tabelle:
<td width="122" height="20" style="background-image:'url(mpbg.gif)';"
onmouseover="this.style.backgroundImage='url(mpbg_over.gif)'"
onmouseout="this.style.backgroundImage='url(mpbg.gif)'">
<a href="url">Linktxt</a></td>
hat jemand eine idee wie ich das lösen kann ?
thanks, mike
tach auch, wie wäre
onmouseover="this.style.backgroundImage='url(mpbg_over.gif)'this.style.setAttribute(...)" ?
mfg
Es muss wohl eher onmouseover="this.style.backgroundImage='url(mpbg_over.gif)';this.style.setAttribute(...);" heissen.
Es muss wohl eher onmouseover="this.style.backgroundImage='url(mpbg_over.gif)';this.style.setAttribute(...);" heissen.
nun funktioniert der effekt nicht mehr, seitdem das zusätzlich im mouseover steht:
this.style.setAttribute(filter:alpha(opacity=50));"
<td width="122" height="20" style="background-image:'url(mpbg.gif)';"
onmouseover="this.style.backgroundImage='url(mpbg_over.gif)'; this.style.setAttribute(filter:alpha(opacity=50));"
onmouseout="this.style.backgroundImage='url(mpbg.gif)'">Bla</td>
..wo steckt wohl der fehler ? grüssle, mike