View Single Post
Old 06-16-2020, 12:24 PM   #7
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,590
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by increase View Post
Not quite what I was meaning, in html history.back() returns back to the previous page in history, so if I use an xhtml link it would return to that page, not the previous page.

Seems the Walk Search History plugin is what i had in mind, but it is not available for Sigil
history.back() is not html, it's javascript. For jumping to footnotes in html you use "a" or anchor tags, for example
Code:
<a href="#note1" id="backref1">[Note 1]</a>
The href specifies where to jump. The id gives a destination for another anchor tag to jump to; in this case it's how the return knows where to go. Here's the html at the bottom of the file for the footnote:
Code:
<a id="note1"></a>Hannibal, Missouri. (<a href="#backref1">Return to previous place.</a>
The pound/sharp sign in front of the note1 and backref1 mean that it's a specific location in the html file (the id of another anchor tag), as compared to the usual linking to an html file like you would with a web page link.

Last edited by hobnail; 06-17-2020 at 11:45 AM.
hobnail is offline   Reply With Quote