Image Rollover

Definition des Image Objektes

imageName = new Image([width, height])

Anwendung

<script> ov = new Image(); ou = new Image(); ov.src = "over.gif"; ou.src = "out.gif"; function over() { this.document.schalter.src = ov.src; } function out() { this.document.schalter.src = ou.src; } </script> <a href="" onMouseover="over();" onMouseout="out();"> <IMG src="out.gif" name="schalter" border=0></a>