DocBrowser v0.9

"On This Page" Links

Any h1, h2 and h3 with an id attribute will be automatically included in the "On This Page" links at the right of the article body:

eg: this would result in an entry "Introduction" in the "On This Page" links

<h1 id="introduction">Introduction</h1>

You can change the text displayed in the link text with the data-nav-secondary-text attribute.

eg: to change the link text to "Intro":

<h1 id="introduction" data-nav-secondary-text="Intro">Introduction</h1>

DocBrowser will show a link icon when hovering over any headers with an id attribute. These can be used by the reader to bookmark or link to particular sections in the document.

Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.