You could give whatever element holds the event description a unique `id` and attach this to the `href` of the links. That way, when the event link is clicked, the browser will automatically jump to whatever element it links to.
Thanks for the feedback Tom. What you say might be fine, but I would have to add an anchor to each link? ie, the panel on the left is a list of links like /shows/245 and this would have to become /shows/245#245 ?
The other solution I’m considering is to load the event details panel with ajax so that the page is not reloaded and the accordion does not have to be reopened and scrolled.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".