Best Practice for Adding Jump Anchors
-
Hello There,
I am looking for some best practices when it comes to clients (almost always people with zero technical skill) wanting to have jump anchors scroll to the appropriate content on the page. What is the best way of doing this?
In this case the client wants their page to look like this:
-title
-jump links
-content with anchor tagsI was figuring I could have then enter the titles of the jump links as a custom field, and then use a bit of Javascript to determine which link they clicked on and then go to the appropriate header tag. So a user would click on the second link, Javascript would figure that out and then scroll down to the second h3 tag in the content area.
Are there better ways of doing this?
- The topic ‘Best Practice for Adding Jump Anchors’ is closed to new replies.