> <span class='sectionTOC small'><b>Table of Contents:</b></span> > <!--to actually display table of contents add <<sectionTOC>> at the > end of a tiddler--> > > It works as intended except the "Table of Contents:" text is of course > in every tiddler now. How can I hide it if <<sectionTOC>> is not > present in an actual tiddler?
Get the latest update (v1.1.1) http://www.TiddlyTools.com/#SectionLinksPlugin Then, in your ViewTemplate, write: <span class='sectionTOC small' style='display:none'> <b>Table of Contents:</b> </span> This will *hide* the sectionTOC 'target element' by default, and only show it when the <<sectionTOC>> macro is actually in a tiddler. enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

