Is there a way to link to a specific date within a timeline?
Submitted by tcowin on Fri, 02/26/2016 - 15:18
We'd like to be able to provide a way to have an external link that calls up the page that the timeline is in, and provide a URL argument such that a specific event/date on the timeline opens. Is this possible? for example: https://h5p.org/timeline#Middle_ages would open your demo timeline to the Middle ages item.
Thanks for any help!
Tue, 03/01/2016 - 21:11
Think you would have to do
Tue, 03/01/2016 - 21:23
timeline links / anchor tags
Would it just be a matter of setting in some anchor tags, and then handling them on the GET? I've not delved into the code at all... any hints or tips as to where to begin? :)
Thu, 03/03/2016 - 16:40
Timeline.js is third party
Timeline.js is third party code. I don't have any insight either :/ probably should look for clues on KnightLab's project page.
Fri, 03/04/2016 - 01:16
There is a way...
There is a way so I thought I'd respond so it's in your archives here if anyone else needs this -- each slide in the timeline is numbered by the order in which they are added, and can be reached directly by appending '#<slide_number>' to the timeline URL.
Thanks for your help!
Fri, 03/04/2016 - 12:53
Great, thank you for sharing!