I have a webpage with image content. In this image, I want to highlight several different elements caused by the user clicking on the corresponding element in the text on the same page.
I have transparent PNGs that I can use as image overlays to perform selection. I know how to make a STATICALLY overlay using span tags (as described here ).
But I don’t understand how to display a specific overlay ONLY WHEN a user rolls over a certain part of the text. To visualize what I'm trying to do, imagine an image that displays a map of the London Tube. I want the yellow backlight to be displayed on a specific station when the pointer is above the name of that station in the text.
Any suggestions, examples or related tutorials would be greatly appreciated!
source
share