3 ms·
HTML has image maps. It's been there since longer than many of the people who might read this post have even been alive. You don't need SVG and JS for this.
by cxr 3y ago
HTML has image maps. It's been there since longer than many of the people who might read this post have even been alive. You don't need SVG and JS for this.
- lights0123 3y agoIt is certainly odd that they didn't use them, especially since image maps are mentioned at the beginning of the article.
- DecoySalamander 3y agoYou'd still need something to outline clickable areas. Map areas do have a visible outline when focused, but I doubt that there is much else.
- cxr 3y ago> something to outline clickable areas Any graphics editor will let you do that.
- jonititan 3y agoWhat's the benefit of image maps vs SVG here?
- cxr 3y agoWeird question, but let's give it a shot. Off the top of my head: Standards, semantics, simplicity of implementation + time-to-implement, cost at runtime... What's the impetus for re-implementing image maps with JS instead of just using the browser-native implementation?