Hi Eric
'bump' requested please.
Bob

On Mon, 2009-01-12 at 05:46 -0800, Eric Shulman wrote:
> > So I guess you are asking for a modification to OpenTaggedTiddlers to
> > scroll the page back to the first of the opened tiddlers, instead of
> > the last.  Eric?  Sound possible?
> 
> OpenTaggedTiddlers calls the displayTiddlers() function, which takes
> an array of tiddler titles and display's them all in the order they
> occur in the array.  It does this by invoking displayTiddler() for
> each title which, in turn, automatically triggers a scroll action
> using the core's ensureVisible() function.
> 
> Normally, the solution would be to simply invoke a call to
> window.scrollTo() after calling on displayTiddlers().  However, this
> won't work, due to the asynchronous display handling used when
> *animating* the opening of the tiddlers.
> 
> In order to achieve the desired effect regardless of animations,
> OpenTaggedTiddlers will need to do it's own processing of the list of
> titles rather than using the core's displayTiddlers() function, so
> that it can display the tiddlers in reverse order *and* insert each
> tiddler as the *top* of the stack.  Then, the normal core-triggered
> scrolling action that occurs at the end of the animation sequence will
> result in the topmost tiddler being scrolled into view (if not already
> visible).
> 
> This change shouldn't be difficult to implement, but will need to be
> carefully tested under different conditions to ensure that some subtle
> side-effect isn't introduced.  If I haven't posted something by the
> end of this week, give this message a 'bump' to remind me.
> 
> -e
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to