Hey,
So I have this webpage and there is an index page and other pages (of course). The index page is really big and it takes a lot of scrolling to see all of the content. Within the content there are links to other pages of the website. When you click the link it goes that that page and there is a "back to home" button that takes you back to the index page, but it takes you to the top of the index page. I would like it to take you to where you were when you left the index page in the first place.
So if you are halfway down the index page, you click a link, then click "back to home" you go back to halfway down the index page. Is there a way to do this with HTML, CSS, or Javascript?
So I have this webpage and there is an index page and other pages (of course). The index page is really big and it takes a lot of scrolling to see all of the content. Within the content there are links to other pages of the website. When you click the link it goes that that page and there is a "back to home" button that takes you back to the index page, but it takes you to the top of the index page. I would like it to take you to where you were when you left the index page in the first place.
So if you are halfway down the index page, you click a link, then click "back to home" you go back to halfway down the index page. Is there a way to do this with HTML, CSS, or Javascript?