Active
Project:
Timeline
Version:
master
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2010 at 08:37 UTC
Updated:
2 May 2010 at 22:46 UTC
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
Comment #1
polskikrol commentedBasically 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?
Comment #2
xamanu commentedI 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.