Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
kevsim
5y ago
0 comments
Share
Right, but in this example, the author is laying divs on top of the map areas, and those need to be rectangles.
undefined | Better HN
0 comments
default
newest
oldest
Sharlin
5y ago
The annotation divs have to be rectangles, but the mouse/touch-sensitive areas of the underlying image don't! The author's goal is to only show an annotation if the user hovers over/touches its corresponding region in the image map.
j
/
k
navigate · click thread line to collapse