As you probably know, the Views settings have this following option:

Add hash bookmarks
On each slide, a # will be added to the end of the url in the url bar. These urls are bookmarkable, so you can share or return to the same place in the timeline later.

This is very helpful, but there are two things that are preventing me from using this feature:

1) (More Issue than Feature Request) - Eliminating the "Hash" for the first "default" slide.
I do not believe this should be happening on the first slide. That is not useful for those placing the timeline in a block on a page that isn't completely dedicated to the timeline. Reason: the link to the page that embeds the timeline is "always" the link to the default (First or Last) slide.

2) (Feature Request) - Scroll to timeline if hash link is accessed.
I have a very long page with a timeline at the bottom. If the hash bookmarks are intended to bring people to a particular slide, this feature is meaningless in my use case.

Thank you in advance and hoping this gets some attention.

Comments

ownage created an issue. See original summary.

dcam’s picture

Title: Improving Hash Bookmarks, (both Issue Report & Feature Request) » Improving Hash Bookmarks
Category: Bug report » Feature request

The first issue you're experiencing is not an issue with this module. Adding a hash bookmark for title slides is a behavior of TimelineJS that I'm not able to override. You'll need to report the issue in the TimelineJS Github repo.

My feeling about the second issue is that it should probably be solved by TimelineJS as well. You might consider creating a second issue in their queue for your feature request. I'll give it some thought though and consider whether this is something we could implement here.

I'm not opposed to either idea. In fact, they're both good ideas, quite possibly even necessary for usability. I just have to consider at what level issues should be solved, especially in context of my own abilities. I am not one of TimelineJS's developers, nor do I have any more than basic skill at programming in JavaScript. Even if I did, I am wary of having this module modify TimelineJS's default behavior.

ownage’s picture

Thanks dcam, I opened an issue over @ GitHub as you suggested:
https://github.com/NUKnightLab/TimelineJS3/issues/382

Looks like they're a bit less responsive but we'll see what they say.

ownage’s picture

Status: Active » Postponed

Good news: Looks like they've agreed to add these two improvements when they're able!

Setting this issue to Postponed.

dcam’s picture

That's great! Thanks for the update!