On Wednesday, January 22, 2020 at 7:25:06 AM UTC-8, Eric Shulman wrote: > > And it auto-navigates to show where in the tree you are! >> > > It uses $:/HistoryList!!currenttiddler to highlight the most recently > opened tiddler >
I just made a small fix to the TOC/Template to restore the use of <$scrollhere> (see TiddlyTools/TOC/scrollhere.js) What this does is ensure that the highlighted TOC item (i.e., the most recently displayed tiddler) is always visibly displayed in the TOC. For InsideTW, this occurs if you have fully expanded the TOC list (click the double-down-chevron in the upper left corner of the TOC slidebar). Since the TOC slidebar has a fixed height, the fully expanded TOC list will result in a scrollbar. If you click a link in the body text that navigates to a tiddler that is listed below the current visible TOC, the <$scrollhere> macro forces the slidebar TOC to scroll that tiddler into view. Also, note that my TOC macros include handling to "auto-open" a branch when you navigate to the branch "root" or if you use a body text link to navigate to a tiddler in a branch that is not currently opened. The combine result of auto open and scroll here ensures that "no matter where you go, there you are" (* see "Buckaroo Bonzai through the 8th Dimension" https://www.youtube.com/watch?v=jv_jkju_iZg) -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/06c359b9-cae3-414e-83f2-4aa336ecd5d9%40googlegroups.com.

