I am designing a new blog site. In the index page, I will show a no. of blogs(lets say 10). The main container will show the blog title and the description.
I have a right navbar which shows all the titles(only titles, not the description) I want the following two things
- The title(in the side navbar) which is being shown in the main container will be automatically highlighted.
- If I click on any title, the page should automatically scroll so that, that blog will be shown to the user.
I have seen this being implemented in lots of pages. Can somebody tell me how to implement this ?
I am using the following JavaScript/CSS libraries
- JQuery
- Twitter bootstrap3