I have added an attachment view which lists in a table all of the events presented in the timeline. Would anyone know the appropriate javascript for Drupal Timeline implementation to get focus on a particular time or event? Found the following snippets of code which work elsewhere but not for the drupal module:

javascript:centerTimeline(2000)
showBubbleForEvent("eventID")

Executing these via a link of button should scroll automatically to the year 2000 or to a particular event and open up the bubble. Little stuck on the implementation here for drupal without going knee deep into code.

Comments

polskikrol’s picture

Basically combining two views into one with the Simile Timile on top and a table of events on the bottom. When a user clicks on the event I would like to use javascript code to have the timeline scroll to the appropriate date and pop up the info box. Any thoughts?

xamanu’s picture

Version: 6.x-2.1 » master
Component: Documentation » Code
Category: support » feature
Priority: Normal » Minor

I understand your ideas. Unfortunately this is not possible with the timeline module the way it is right now. I can see a lot of other issues that have a higher priority to me. But if anybody is willing to do this soon, I'm open for patches and I'd always commit good work back to the module.

Marking this as a feature request because it would be something to implement first. There is no generic way to do this with the state of the module right now.