Davebenroberts
Member
Posted 3 weeks ago #
I'm using <!--NextPage--> in my posts. How can I make it that when they click on page 2 of a post, it stays at the position their browser was at when they clicked, instead of jumping back up to the top of the page??????? is there a snippet of code i need place there?
Why would people want to be taken to to the bottom of the second page?
Davebenroberts
Member
Posted 3 weeks ago #
I wish I could show it to you, but its all locally hosted for now. What i need is a code that leaves the browser at the pointed that it was previously scrolled to. Not jumping to any part of the next page. I just want it to be the same as the page before. Say for example i click on a link thats towards the bottom of the page. When i click that link the content that was around that link changes, so I want the page to be scrolled to that same position, so it looks like a seemless transition. I'm using the <!--nextpage--> function in wordpress.
You can't get <--nextpage--> to behave like that. It does what it says on the box - takes the user to the next page and, by common rules, that means to the top of the next page.