[HELP] How would i go about making my image show another when clicked on ?

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Good thing I tested this a bit. It turns out you can't just test for equality here when the 'src' attribute is set to a relative URL. Firefox converts it into a complete URL in my testing. So I used indexOf as a workaround, but it's probably not best practice. Someone else might chime in with a better solution.