cldarcy / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE. Mousewheel Support and External Positioning Commands #163

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, thanks for a great tool.

I have couple of things I think would greatly improve the timeline.

1. Support for mouse-wheel scrolling. Grabbing and dragging the very long
timeline can be really annoying, something like mouse wheel could be a very
nice alternative.

2. My timeline spans over few years and it'd be great if there was a way
for me to position the timeline to a certain date by some sort of external
call. I'm thinking of may be a list of dates implemented in the form of
HTML combo-box or just static set of links that send the scrolling command
to a timeline control.

I apologize if any of the above has already been implemented, please let me
know about it.

Thank you again
Eugene

[Submitted by Eugene Fouxman on simile.mit.edu] 

There is already support for Keys: i.e. PageUp and PageDown Keys as well as
up and down arrows work for me.= to scroll the timeline.

[ Show » ]
Gaurav - 29/Aug/07 06:50 PM There is already support for Keys: i.e. PageUp
and PageDown Keys as well as up and down arrows work for me.= to scroll the
timeline.

[ Permlink | « Hide ]
Gaurav - 29/Aug/07 06:53 PM
There is also double click support. If you double click at a certain spot
on the band the timeline positions itself to that spot.

But I agree, Mousewheel support and a way to programatically position it be
a very cool feature. The problem is that the mouse wheel is already used
for scrolling the browser window so its a bit tricky to implement.

[ Show » ]
Gaurav - 29/Aug/07 06:53 PM There is also double click support. If you
double click at a certain spot on the band the timeline positions itself to
that spot. But I agree, Mousewheel support and a way to programatically
position it be a very cool feature. The problem is that the mouse wheel is
already used for scrolling the browser window so its a bit tricky to implement.

[ Permlink | « Hide ]
Jon Crump - 29/Aug/07 07:34 PM
Eugene,

support for your number 2 can be implemented with centerTimeline(). See the
way I did it at http://home.myuw.net/jjcrump/Timelines/JohnItinerary2.html
a simple list of year links thus:

<a class="year" href="javascript:centerTimeline(1199);">1199</a>

Having said that, a big "me too" on mousewheel support.

Original issue reported on code.google.com by GabrielR...@googlemail.com on 6 Apr 2009 at 1:48