I know the title of this post is somewhat confusing, but I could not think of a way to explain it in such a short section.
Basicly the my question is this: I created a program to track events, there can be alot of events on a single page so I decided to hide the details on each item initially, when the user clicks the “view details” button the details div is unhidden and the user can view them, if they click it again then they are hidden.
The problem is that if the user is far down on the page and clicks the link it shoots them back to the top of the page (while still showing the details) the user has to scroll all the way back down the page to read the entry. Does anyone know of a way to keep the user in the same place they were when they clicked the button?
Thanks, Let me know if i can provide anything else.
use
<a href="javascript:void(0)">instead of#