Thanks, Mohammad. I can confirm it works. I'll have a look at Eric's 
solution as well.

Scott

On Wednesday, January 22, 2020 at 12:21:08 PM UTC-8, Mohammad wrote:
>
> Hi Scott,
>  Try the attached revised TOC.
> I confirm that the Eric method is simpler and takes care of circular 
> references!
> I may add the selective-expandable feature to it!
>
> Note that you can customize the code to meet your requirements.
>
> --Mohammad
>
> On Wednesday, January 22, 2020 at 10:51:11 PM UTC+3:30, Scott Kingery 
> wrote:
>>
>> Mohammad,
>> That's odd, it is instantly reproducible for me.
>>
>> in Tiddlywiki.com:
>> Create a new tiddler
>> Tag it "TabelOfContents"
>> Drag in your Tony-TOC-Expandable 5 tiddler
>> See the results
>>
>> Unless you've updated your code since then.
>>
>> Looks like the attached for me.
>> Scott
>>
>>
>> On Wednesday, January 22, 2020 at 10:54:14 AM UTC-8, Mohammad wrote:
>>>
>>> Scott,
>>>  I cannot reproduce it!
>>> I deleted HelloThere and even TableOfContents, it works fine.
>>> Could give me a short a example!
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> On Wed, Jan 22, 2020 at 10:06 PM Scott Kingery <[email protected]> 
>>> wrote:
>>>
>>>> Thanks all for the work on this.
>>>>
>>>> Mohammad, I like that you are hiding the > symbols for entries that 
>>>> don't have sub-entries. However, this doesn't seem to work in my testing 
>>>> when the top level has no sub-entries. For example, if on 
>>>> tiddlywiki.com there were no HelloThere entries you would still get 
>>>> the ">" symbol. Not sure if that is fixable.
>>>>
>>>> Scott
>>>>
>>>> On Tuesday, January 21, 2020 at 9:21:34 PM UTC-8, Mohammad wrote:
>>>>>
>>>>> Hi Tony,
>>>>>  
>>>>> This is an improved TOC-Expandable sports two button to collapse and 
>>>>> expand all tiddlers in the table-of-contents
>>>>> Also it is smart enough to hide the right arow for entries have no 
>>>>> child.
>>>>>
>>>>> I have created an experimental wiki on tiddlyspot will share later.
>>>>>
>>>>> Drag and drop in tiddlywiki.com and see how amazingly it works!
>>>>>
>>>>> [image: toc-expandable-fig01.png]
>>>>>
>>>>>
>>>>> [image: toc-expandable-fig02.png]
>>>>>
>>>>> -- 
>>>> 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 [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/tiddlywiki/22548730-53e5-40ea-a201-4ca46d447c95%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tiddlywiki/22548730-53e5-40ea-a201-4ca46d447c95%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/80a4ae75-caf3-44bb-bb36-23109f4a3be3%40googlegroups.com.

Reply via email to