Thicket thicket
cambridge
REPOS 4

Projects covers Forester, Merry, xdge and ocaml-crockford.

W37.2026 · 7–13 Sep / Issue

Wikipedia-style hover preview for links

tangled · jonmsterling.com/ocaml-forester · did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

What do you think of this? Would be a cool showcase for HTMX.

Comments

did:plc:jjiv56ot7d6sgethto3jr3r5

That would be really cool...


did:plc:jjiv56ot7d6sgethto3jr3r5

I've now tried this out, it is indeed a most excellent idea! One minor suggestion is to have some kind of subtle border around the box.


did:plc:jjiv56ot7d6sgethto3jr3r5

One potential issue I'm noticing is that on a page with a lot of links, this seems to be making interaction very slow at first. (For example, try it on my blog / https://www.jonmsterling.com/007W/). But I haven't verified yet that this feature is actually at fault; I just don't remember slowness before.


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

There is a styling issue when the previewed link is part of the title, making everything in the preview bold/h1.


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

A bunch of htmx:invalidPath errors as well


did:plc:jjiv56ot7d6sgethto3jr3r5

What's the status of this? It seems to be working pretty well for me at the moment.


did:plc:4gj3ihsdh6fn3aqq5bdnw5w3

Yes, let's close this.