Transparentes Bild

  • Beim MouseOver über das Bild verschwindet der transparente Effekt und das Bild wird sichtbar. Funktioniert im IE und NS6, im NS4 wird das normale Bild gezeigt.<SCRIPT LANGUAGE="JavaScript"><!-- Paul Miller webmaster@hypedup.co.uk --> <!-- http://www.hypedup.co.uk --> if ((navigator.appName.indexOf('Microsoft')+1)) {document.write('<style type="text/css"> .opacity1 {filter:alpha(opacity=50)} .opacity2 {filter:alpha(opacity=100)} </style>'); }if ((navigator.appName.indexOf('Netscape')+1)) {document.write('<style type="text/css"> .opacity1 {-moz-opacity:0.5} .opacity2 {-moz-opacity:1} </style>'); }else {document.write(''); }</script><a href="#"><img src="gfxu/webaid_1.gif" border="0" class="opacity1" onmouseover="this.className='opacity2'" onmouseout="this.className='opacity1'"></a> Bemerkung: Copyright- und Autorenhinweis im Quelltext.