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

Q1620 What is the smallest amount of code necessary for image swaping?

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

This might be it:

<a href="http://www.irt.org/"
  onMouseOver="if (document.images) document.images['i1'].src='on.gif'"
  onMouseOut="if (document.images) document.images['i1'].src='out.gif'"
><img src="out.gif" name="i1"></a>

Feedback on 'Q1620 What is the smallest amount of code necessary for image swaping?'

©2013 Martin Webb

ArticlesFAQsGamesFeedback

FOLDOCRFCsInstant JavaScriptSoftwareBooksJavaScript Programmer's ReferenceAboutTop