TiddlyTweeter is asking about the kind of behavior found in this long html 
I created with StackEdit. 
http://giffmex.org/experiments/mateo.28.16.20.html Click on any link and it 
moves up and down the 'story river' to the right section.

I think that is standard TiddlyWiki behavior, right? Thus the puzzled 
replies.

If the question is whether TiddlyWiki can export to static html and have 
the same behavior, the question makes more sense, and the answer is now 
yes, thanks to the recent HTML anchors hack.

I create a long tiddler that transcludes other tiddlers tagged entry and 
sorted using an 'id' field, using the following.

1. In my case I populate the id fields of the tiddlers tagged 'entry' with 
numbers, like #00.02. Note there is one hashtag. Those become the ID's used 
in the tiddler that is exported to HTML 

2. Then in the tiddler to be exported I place the following list widget, 
which transcludes the tiddlers, sorted by the id #, and each is preceded by 
their html anchor.

```
<$list filter="[tag[entry]sort[id]]"><hr><h1 id={{!!id}}><$view 
field="title"/></h1><$transclude mode="block"/></$list>
```

3. Then I hand key a TOC with links lke <a href="##00.02">Link text</a>. 
Note there are two hashtags. 

But I imagine step 3 could also be done with a list widget that links to 
the id's.

4. As for the placement of the TOC, I wanted my HTML's to be more suitable 
for mobile, so instead of placing the TOC on the left, I placed it at the 
top and created links to it at the bottom of the text of each transcluded 
tiddler, so that the user can click a link to return to the TOC from any 
section.

Dave


-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6b108f3-230d-4a48-9268-a6ddd6fa54ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to