by godot · 7y ago · 0 comments
It didn't really teach me anything about programming, but it seemed like such a novel thing to put hyperlinks on parts of images.
https://web.archive.org/web/20010301200926/http://www.bonega...
An absolutely positioned CSS div is an interesting idea, if I recall correctly I actually tried this first, but ran into various problems (with scaling as the page is zoomed in/out, I think) and the image map worked perfectly. area shape="rect" works well as it translates directly from puppeteer's await page $$('a') boundingBox().