"super70s" wrote:
> I thought it would be cool to do a mouseover on the old "Faces - Ooh La
> La" album cover so when the mouseover happens it emulates the actual
> album cover. I was successful in setting up the pic at the top, but
> since it probably wouldn't be obvious to the user, I'd like to be able
> to make the text in the body that says "maneuvered so the eyes and mouth
> moved" do the emulation when the user clicks that. Can't quite figure
> out how to make that happen.
>
> Hope I've explained myself clearly, I appreciate any help.
>
>
https://www.superseventies.com/ac17oohlala.html
Firstly, your image width contains a misplaced quote before "width=".
Here's one way. Give your img tag an id and put a span around the word
to be clicked with a suitable event handler like so:
<img id="ac" ... >
<span onclick="document.getElementById('ac').src='img2.gif'">maneuvered</span>
You could also have an onmouseout to reset it. You probably want to
indicate the word is clickable by, say, changing the mouse pointer in
the span:
style="cursor:pointer"