Changing the state of an object on a base layer after hotspot is clicked

I have a project in which I have multiple layers, each of which displays when I click on a transparent hotspot that is over an image. Once the text in the displayed layer is read the layer is closed via clicking on a X. There is a mouse hover state that changes the image on the base layer as well. I want to be able to show which images have been visited after they view each of the layers. It would be great if it could like it does when it is in the hover state.

 

Any help is appreciated.

3 Replies