Samuel Wales <samolog...@gmail.com> writes:

> works great.  thank you for even thinking about such things.

Thanks, good to know!

Tbh, I probably wouldn't have thought about it if Ihor and Bastien
hadn't brought it up as an unresolved issue when I came in.

> i would say that the toc has unexpected behavior as follows.  i
> didn't notice the toc at first, but when looking for it, i found it,
> and i hovered and it popped up, and i scroll to see what is in it, and
> then if i scroll too much, it disappears.

There are actually two behaviors (in both versions, I haven't changed
it):

- The TOC expands on hover (as you say, scrolling is fragile)

- The TOC expands on click and *stays* expanded until clicked again to
  collapse it, so scrolling after clicking works fine. After it's
  clicked, it no longer expands on hover.

I think this is pretty useful and elegant; the hover behavior alerts the
reader that the TOC can be expanded and gives a quick glimpse, the
on-click behavior gives more control. My nitpick would be that the user
ought to get a hint that the on-click option exists.

> idk the fix, but
> i'd be ok with a plain text inline toc that you have to scroll past to
> get to the text, but then again i am a fan of simplicity and plain
> text, which is just me... oh, hmm, actually plain text is a key
> selling point of this whole active markup language thing  :)

It's still plain (HTML) text, we're just doing dynamic things with the
presentation :)

Several people have expressed a similar preference; I think I'll gather
up my thoughts in a reply to Rudolf's comment in this thread.

Yours,
Christian

Reply via email to