Jeremy said, that when we use zoom-in, all tiddlers (we pass through) are 
not removed from the dom, they  only get "display: none;"  So invisible 
 dom tree grows and grows and TW5 works slower and slower. 
so I need to modify zoomin.js to make it *remove* from DOM if tiddler has 
tag $:/TOC, if tiddler don't have this tag it must stay in DOM in 
standart "display: none;"

now we have 
 if(self.currentTiddlerDomNode !== prevCurrentTiddler) {
    prevCurrentTiddler.style.display = "none";
   }

I want something like "if (prevCurrentTiddle.tag=.....){  prevCurrentTiddler
.remove();  } else {prevCurrentTiddler.style.display = "none";}




 
воскресенье, 11 октября 2015 г., 14:28:14 UTC+3 пользователь Danielo 
Rodríguez написал:

>
>
> El domingo, 11 de octubre de 2015, 13:08:30 (UTC+2), Siniy-Kit escribió:
>>
>> you're right :(  tm-close-other-tiddlers close all except one.  And is it 
>> possible to close other tiddlers by the tag? And do this action every time, 
>> when any tiddler is open?
>> I put 1000 goods to my experimental  tw5-shop 
>> http://novye-podarki.ru/heeg1000.html   and it works slow if dom tree 
>> grows.  So I want to remove branches I don't use.
>>
>
> I'm not sure what are you looking for, but there are some projects where I 
> want to "simulate" navigation.
>
> For example, opening a FAQ section, where each FAQ question is a tiddler. 
> What I usually do is first close all the tiddlers, then, open all the FAQ 
> tiddlers. Is that what you want? 
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b5a1d577-1d44-40b5-abab-da6f27bc267f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to