Hi Leo,

sorry, I forgot to answer you.
As far as I know Tobias' fork includes Marios Popup-Bug-Workaround and an 
implementation for his PaintrPlugin.



Am Mittwoch, 12. März 2014 04:03:53 UTC+1 schrieb Leo Staley:
>
> I can't help, but could you explain the difference between Tobias' fork 
> and the original? I read it, but i don't understand. 
>
> On Tuesday, March 11, 2014 10:42:16 AM UTC-7, Albert Riedinger wrote:
>>
>> Hi all,
>>
>> I use Tobias Beers' fork of TiddlersBarPlugin[1] in my custom theme with 
>> TiddlersBar fixed in left sidebar. What I would like to achieve is that 
>> TiddlersBarPlugin remembers the scroll position of tiddlers while switching 
>> between them[2]. I tried to modify the code of TiddlersBarPlugin, but had 
>> to give up realizing that I am only a JS beginner ;) My approach would be 
>> to save the horizontal and vertical scroll positions in particular tiddler 
>> fields with code like this:
>>
>>     // save scroll position
>>     var scrX = findScrollX();
>>     var scrY = findScrollY();
>>     store.setValue(tiddler, "scrollPosX", scrX);
>>     store.setValue(tiddler, "scrollPosY", scrY);
>>
>>     [...]
>>
>>     // load and set scroll position
>>     var scrX = store.getValue(title, "scrollPosX");
>>     var scrY = store.getValue(title, "scrollPosY");
>>     window.scrollTo(scrX, scrY);
>>
>> The problem is, that I don't know where to put this or similar code in 
>> the TiddlersBarPlugin. Maybe somewhere in the hijacked displayTiddler 
>> function? I appriciate any help.
>>
>> Thanks in advance,
>> Albert
>>
>>
>> [1] already requested by another user here: 
>> https://raw.github.com/tobibeer/TiddlyWikiPlugins/master/forked/TiddlersBarPlugin.js
>> [2] https://groups.google.com/d/topic/tiddlywiki/uH1N8FB8_uY/discussion
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to