Written by Scott D. Anderson
scott.anderson@acm.org
Creative Commons License
This work is licensed under a Creative Commons License.

An example of an event handler that changes both the SRC and ALT for an IMG tag. Unfortunately, it seems to be hard to find a browser that shows the changed ALT attribute. However, as of this writing (April 2005), this idea does work for slide shows in both IE and Netscape. Sohie has an example.

happy face