4 ms·
Off topic, but I love the minimap on the side -- for pages where I might be jumping around the content (long, technical articles, to refer back to something I r
by mholt 1y ago
Off topic, but I love the minimap on the side -- for pages where I might be jumping around the content (long, technical articles, to refer back to something I read earlier but forgot) -- how can I get that on my site? Way cool.
- legobmw99 1y agoNo idea how plug-n-playable it is, but the source seems to be self contained: https://github.com/mcy/mcy.github.io/blob/master/public/js/minimap.js https://github.com/mcy/mcy.github.io/blob/master/public/js/m...
- hu3 1y agohttps://github.com/lrsjng/pagemap https://github.com/lrsjng/pagemap looks viable. But it uses a canvas and redraws. While the post's website renders a copy of the page in a <div> and scroll it. As you can check by inspecting the div.
- andrewshadura 1y agoFunnily enough, this isn’t a real minimap: it’s actually a copy of the main content, zoomed out to look tiny and scroll-synced.
- keybored 1y agoThe map is the (copy of the) territory?