Thanks Jeremy! BTW if I need to extend the code for tabbed table of contents in my personal wiki, where can I find it. Thanks!
Shash On Wednesday, January 28, 2015 at 9:48:48 PM UTC+5:30, Jeremy Ruston wrote: > > Hi Shash > > You could try something like this. In a stylesheet tiddler: > > .my-table-of-contents .tc-table-of-contents { > background: red; > } > > .my-table-of-contents .tc-tabbed-table-of-contents .tc-table-of-contents > .toc-item > a { > border-color: green; > } > > Then wrap the toc with a DIV like this: > > <div class="my-table-of-contents"> > <$macrocall $name="toc-tabbed-internal-nav" tag="TableOfContents" > selectedTiddler="$:/temp/toc/selectedTiddler" unselectedText="<p>Select a > topic in the table of contents. Click the arrow to expand a topic.</p>" > missingText="<p>Missing tiddler.</p>"/> > </div> > > Best wishes > > Jeremy. > > > > On Wed, Jan 28, 2015 at 4:03 PM, Jed Carty <inmy...@gmail.com > <javascript:>> wrote: > >> On Tuesday, January 27, 2015 at 12:00:36 PM UTC-7, Shash wrote: >> > Hi all, >> > >> > >> > I am trying to use the Tabbed version of TableOfContentsMacro. I wish >> to change the background of the tabs.. Is there a easy way to achieve this >> with stylesheets. >> > >> > >> > Thanks! >> > Shash >> >> I have looked at this a little and didn't see an obvious solution, I will >> hopefully have time to look again soon. The macros are defined in the >> tiddler $:/core/macros/toc if you want to try looking at modifying them >> >> -- >> 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 tiddlywiki+...@googlegroups.com <javascript:>. >> To post to this group, send email to tiddl...@googlegroups.com >> <javascript:>. >> Visit this group at http://groups.google.com/group/tiddlywiki. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Ruston > mailto:jeremy...@gmail.com <javascript:> > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.