1 Vote Vote

Go to top of page

Posted by topdog 651 days ago Questions| page button having All
I have some buttons on the bottom of a page. This is essentially an eBook. There is a static button that is the same for all pages that links to the Index page. That works fine. There is a Next button to go to the next page in the book. It is the Back button that I am having problems with.

I tried <a href="#" onclick="history.back(); return false;"> but this just goes to the bottom of the previous page---where the buttons are located. How to I specify to go to the top of the page?

The reason that I don't link to the previous page in the book is that it is also possible to get to the page by clicking on links elsewhere in the book. People are accustomed to going to the previous page that they viewed and not to the previous page in a book. 90% or more of the time, it will in fact be the previous page in the book but I don't want to disorient the reader by perhaps going to a page that they had not viewed before.

Thanks,
Linda
Discuss Bury


Who Voted for this Question