You can set timeline_start and timeline_stop in the theme for your bandInfo.
These are the dates which will stop the timeline from scrolling past. This is
useful if the user shrinks the window and you still want them to be able to get
to everything in a range of dates. You can update these values dynamically if
you need to let the user scroll.
If you wish to disable and prevent *all* horizontal scrolling in the timeline
widget, simply do:
Timeline._Band.prototype._moveEther = function(shift) {}
and all scrolling is disabled.
--Mike
On May 16, 2012, at 3:53 AM, Pierre-Henri Lavigne wrote:
> Good day all,
>
> I'm looking for a way to disable completely the scroll function for an
> horizontal timeline.
> After reading the API, I succeeded to generate a "date pagination" using
> .getMinVisibleDate() && .setMinVisibleDate().
> I would like to disable this scroll because I am gonna adding some custom
> html manually sometimes for some items.
>
> Is there any way to do it in a simple way ? Or any kind of trick like
> changing min / max date after setting the minVisibleDate ?
>
> Thank you for your help,
>
> Peter
>
> --
> You received this message because you are subscribed to the Google Groups
> "SIMILE Widgets" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/simile-widgets/-/ShEMxI0zR68J.
> 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/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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.