toc-tabbed-internal-nav

268 views
Skip to first unread message

ZEN

unread,
Nov 2, 2016, 3:51:39 AM11/2/16
to TiddlyWiki

 i have some Layout issue considering the function toc-tabbed-internal-nav

i created a tiddler which contains bulletpoints, but when shown through the toc-tabbed-internal-nav every bulletpoint becomes BOLD

this
  • text
  • text
  • text

becomes this


  • text
  • text
  • text

also number from the bulletpoints are gone

this
  1. text
  2. text
  3. text

becomes this


text

text

text


this is the Code that i found

<$macrocall
        $name="toc-tabbed-external-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>"
/>

i did only use this line from it

<div class="tc-table-of-contents">
<
<toc-tabbed-internal-nav 'CodingGuideline' "sort[title]">>      

While CodingCuideline is my Tag

any help would be appreciated

thank you 


Gruppe 1.PNG
Gruppe 2.PNG

PMario

unread,
Nov 2, 2016, 6:45:07 AM11/2/16
to TiddlyWiki
Hi ZEN,

I did a short test with your code at tiddlywiki.com. .... It seems to work fine there. So imo you have change some stylesheets, that cause the problem.

just a guess!
-m

PMario

unread,
Nov 2, 2016, 6:51:19 AM11/2/16
to TiddlyWiki
uups,
I didn't test this one:


<div class="tc-table-of-contents">
<
<toc-tabbed-internal-nav 'CodingGuideline' "sort[title]">
>   

... IMO That can't work. ... end </div> is missing and it produces some strange HTML code. ...

this:

<<toc-tabbed-internal-nav 'CodingGuideline' "sort[title]">>   

seems to work for me.

ZEN

unread,
Nov 2, 2016, 7:08:45 AM11/2/16
to TiddlyWiki

hey thanks for the reply ...so that line was causing some trouble :) thank you!
 

PMario

unread,
Nov 2, 2016, 3:57:47 PM11/2/16
to TiddlyWiki
On Wednesday, November 2, 2016 at 12:08:45 PM UTC+1, ZEN wrote:
hey thanks for the reply ...so that line was causing some trouble :) thank you!

You are welcome :)

Yea, the <<toc-tabbed-internal-nav ..>> macro creates every thing, that's needed, to work with the core themes. So no extra div needed.

have fun!
mario

Reply all
Reply to author
Forward
0 new messages