TW5: Anchoring within tiddlers?

128 views
Skip to first unread message

David Gifford

unread,
May 13, 2014, 6:46:33 PM5/13/14
to tiddl...@googlegroups.com
You know how if you click a link in many websites then go back to the original page, you go back to the very same spot in the page, rather than to the top? Is there a way to do that in a long tiddler in TW5?

Odder

unread,
May 17, 2014, 12:14:08 PM5/17/14
to tiddl...@googlegroups.com

I've
been doing this with the HTML anchor tag.

Set anchor: <h2 id="anchorname"> heading </ h2>

and go with a hyperlink from the top of the page to this anchor (for example)

<a href="#anchorname"> any text </ a>

But since the 5011 version this does not work anymore. Instead of jumping to the set anchor, it would now like to create a new tiddler with the anchor name (meaasage: missing tiddler "anchor name" - click to create).

Even if I set the filename before the anchor, for example <a href="xyz.html#anchorname"> any text </ a> it no longer works.

Depends perhaps together with the support for permalinks and the symbol #?

I've testes it with my TW and with a new TW (without any data and modifications) 5011 and 5012

regards


odder

David Gifford

unread,
May 17, 2014, 12:48:16 PM5/17/14
to tiddl...@googlegroups.com
Thanks Odder!


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/bq2F0gNi71U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.



--
David Gifford
Christian Reformed World Missions, Mexico City
Reply all
Reply to author
Forward
0 new messages