I have set up a static page filled with different interactions. The page is split into a map (right side) and photos (left side).
When a user clicks on a photo on the opposing side the map appears. The issue is how do I close the previous map when a user clicks on a new map.
All I can think is on every singe photo have all the other maps close. Not only would this take days to add I am hoping there must be another way.
Maybe a line of code?