Thanks!  I have already patched in a similar solution, you can see code at
   http://twitlines.net/javascripts/twitlines.js

The layout still leaves something to be desired when there is a high density
of tweets (ie, if you search for #haiti); I will continue to tweak it

Mike

On Sun, Jan 17, 2010 at 11:53 PM, Alexey Smirnov <ale...@gmail.com> wrote:

> Hi mt,
>
> > Is there a way to do this without ripping apart the layout algorithm?
>
> Yes, there is a fairly easy solution to your problem. But first I will
> describe why the newer events appear on top of the older ones. This is
> because Timeline sorts all events in the reverse order before
> displaying them.  Here is an example that demonstrates the default
> order:
>
> http://alexeysmirnov.name/playground/test2.html
>
> I have added a flag
>
> eventOrder:     Timeline.FORWARD,
>
> that makes it possible to change that. Along with a few updates of the
> algorithm that chooses a free track the modified timeline generates
> the following result:
>
> http://alexeysmirnov.name/playground/test2-forward.html
>
> As you can see, I am hosting the Timeline on my own website. You can
> either use it in your application through <script> tags or download
> the modified JS:
>
>
> http://alexeysmirnov.name/playground/timeline/timeline_js/timeline-bundle.js
>
> Alexey
>
> On Mon, Jan 11, 2010 at 9:41 PM, Mike  Travers <mtrav...@gmail.com> wrote:
> > Hi,
> >
> > I've got a little hack where I've hooked up Twitter the Simile
> > timeline widget.  You can check it out at http://twitlines.net .
> >
> > I did some patching of the timeline code to make things look the way I
> > wanted, but there was one bit that caused me grief: I want the events
> > to stack differently.  Right now if two events overlap in time, the
> > later one is drawn above the earlier one.  For this application at
> > least, it would be better to do it the other way, so things read in a
> > more natural way.  I could not find an easy way to do this.  The way
> > tracks are allocated seems to be pretty hard-wired.  Is there a way to
> > do this without ripping apart the layout algorithm?
> >
> > Thanks,
> > mt
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "SIMILE Widgets" group.
> > To post to this group, send email to simile-widg...@googlegroups.com.
> > To unsubscribe from this group, send email to
> simile-widgets+unsubscr...@googlegroups.com<simile-widgets%2bunsubscr...@googlegroups.com>
> .
> > For more options, visit this group at
> http://groups.google.com/group/simile-widgets?hl=en.
> >
> >
> >
> >
>
--
You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group.
To post to this group, send email to simile-widg...@googlegroups.com.
To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to