Answer the question
In order to leave comments, you need to log in
How to add a step back button?
The situation is as follows
The user enters the "Clients" section, clicks on client N and gets into the portfolio with works (of this client). After he wants to go back, when he clicks on the button, he is redirected to the home page of the portfolio, where ALL the works are posted, everything would be fine, BUT!. There is pagination, only 7 pages. Let's say the user initially goes to the "Portfolio" section and reaches, say, page 5, clicks on any project, also looks at it and wants to go back, when you click on the "Back" button, he will be thrown to 1 page, which is not good, he will have to scroll through everything again to continue viewing the remaining projects.
I surfed the forums, they write:
<input type="button" onclick="history.back();" value="Назад"/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question