Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q1460 How can I change an image to another only pointing to it without clicking the image directly?

You are here: irt.org | FAQ | JavaScript | Image | Q1460 [ previous next ]


<a href="http://www.irt.org/"
onMouseOver="if (document.images) document.images['theImage'].src='anotherimage.gif';"
onMouseOut="if (document.images) document.images['theImage'].src='originalimage.gif';"
><img name="theImage" src="originalimage.gif">

©2018 Martin Webb