Add "hotspots" to image

I have a site plan for a subdivision and I’d like to have hotspots where people can click on the different lots and get information about each one. Is there a way to do this? I feel like years ago I could do it, maybe using other software (Microsoft Frontpage?) Anyway, can it be done in Wix?

Thanks,
Mark

Something like this?..

https://russian-dima.wixsite.com/meinewebsite/map

You know, you could make it shorter:

for (let i = 0; i < 28; i++){
$w('#' + i).onMousIn(event => {
xxx(i);
})
}

I’d guess that making it inside an htmlComponenet using one of the known methods that can be easily found on the web is safer rand can support responsive displays.
But you can try and see if Dima’s solution works for you.

Wow, guys. You’re giving me too much credit for coding skill. Was it because I mentioned Frontpage? LOL. I swear I remember something years ago where I could just draw/outline the hotspots directly on the image. I could be thinking of something totally different, though.

I’ll see if I can follow your suggestions. I don’t do a lot of websites, just for our businesses, so I’m not up on all the tricks. Thanks for the assistance!

@jonatandor35
Thanks J.D.
Yes i was informed about a loop, but i wanted do it in a simple way for better understanding the code. I just do give examples, which show how to do :grin:
Do some perfections in code-structure will be the work of code-owners.
But i apreciate your informations (always!) Thanks.