You are here: irt.org | FAQ | DHTML | Q179 [ previous next ]
<HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"><!-- function move() { if (document.layers) { document.layers["moveme"].pageX += 10; document.layers["moveme"].pageY += 10; } } //--></SCRIPT> </HEAD> <BODY> <LAYER NAME="moveme"> <A HREF="#" onMouseOver="move()"><IMG SRC="image.gif" WIDTH="16" HEIGHT="16"></A> </LAYER> </BODY> </HTML>