Wonder whether it is possible to highlight links inside MainMenu
according to which tiddler is currently being viewed (single page and
nested slider plugins installed).
I.e.
When accessing TW using...
http://www.abc.com/tw.html#[[Tiddler 3]]
Then seeing...
(MainMenu)
Menu
* Tiddler 1
* Tiddler 2
@@ * Tiddler 3@@ <---- Highlighted
* Tiddler 4
When accessing TW using...
http://www.abc.com/tw.html#[[Tiddler 2]]
Then seeing...
(MainMenu)
Menu
* Tiddler 1
@@* Tiddler 2 @@ <---- Highlighted
* Tiddler 3
* Tiddler 4
Thanks!
I guess, you will likely need a plugin that either...
1) Hijacks loading & closing of tiddlers, to check if a tiddlylink to
the one that is being opened or closed exists in a certain container
(e.g. the mainMenu) or several containers (like footers, topmenus,
etc.) ...to then be able to change display rules accordingly (make it
bold, etc...).
or
2) Implements a kind of dynamic MainMenu which reloads depending on
what is being displayed topmost / last ...which gets triggered via
some hidden span in the PageTemplate.
However, I haven't seen any such plugin around yet. A few month ago I
have been playing with the latter, but since my idea/scope was a bit
more/too complex, I unfortunately never quite finished that.
Tobias.
Tobias has made Vertical Tabs: http://verticaltabs.tiddlyspot.com/
To me it seems that it does pretty much what you are asking for :-)
Regards Måns Mårtensson
I had a quick go and created a proof of concept:
http://fnd.lewcid.org/tmp/HighlightOpenTiddlerLinks.html
(very hacky - it's just meant to illustrate the approach in case someone
feels like doing a proper implementation)
Turns out Saq had done something similar before:
http://ligamen.org/#ActiveMenuLinksPlugin
-- F.
Though http://verticaltabs.tiddlyspot.com may look like a mainMenu, it
is not. What it does is to allow for any tabs-macro embedded in a
tiddler to display vertical tabs instead of horizontal ones. However,
there simply is no mainMenu displayed in that tiddlywiki.
Though I never thought of that before, you are perfectly right that
one might use vertical-tabs for such a purpose.
Tobias.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To post to this group, send email to tiddl...@googlegroups.com.
To unsubscribe from this group, send email to tiddlywiki+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.