View Single Post
Old 08-04-2015, 04:38 AM   #4
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,997
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by abdel.badou View Post
Hello everyone,

I'm a student from Switzerland and I'm trying to write an ebook (in HTML CSS).
I already generated the .mobi and everything is working well.
I still have only one problem, I want to add a link "back to page" having the same behaviour as the back button and I was wondering if there was a function I can call or anything else that I can use to trigger this button or mimic its behavior.

More precisely, when I press a hyperlink (in page 1) going to a new page (page 2) inside the book, I am enable to recover page 1 with the same view because I don’t know where page 1 starts (different from one kindle to another). Also using a Hyperlink in page 2 pointing to the hyperlink in page 1 brings a shifted view where the hyperlink in page 1 is set at the top of the page.
The back button that is present on kindle resolve this problem, allowing me to came back to the original view of page 1, but I cannot find a way to call previous button.
I’m looking for something like: Back to book, is this possible?
Also if this is not possible, is there a way to create popups in the book like the translation popups when I hover words or any other solution ?

Thank you very much for your help,
Abdel Badou
I believe that if you make links to another part of the book, and that linked-to part contains a link back to the original place, modern Kindles are clever enough to display the text of the destination link in a pop up with an option to go to the link location. But I'm uncertain as to whether the precise formatting requirements have actually been documented.

There's no way to specify "a click of the back button".
pdurrant is offline   Reply With Quote