This version of this component hasn't been branded yet.

Please check the latest version, 1.0.0-beta.6, as branding is a relatively new addition to our components.

o-in-page-nav

Navigation for page contents

active

Demo

Sticky nav with menu content

<div class="demo-wrapper">
	<div class="demo-notice">
		Open this demo in a new tab to see scrolling behaviour
	</div>

	<div class="demo-page section o-grid-row">
		<div data-o-grid-colspan="hide M3">
			<nav data-o-component="o-in-page-nav">
				<a class="o-in-page-nav__item--section-1" href="#section-1">Section 1</a>
				<a class="o-in-page-nav__item--section-2" href="#section-2">Section 2</a>
				<a class="o-in-page-nav__item--section-3" href="#section-3">section 3</a>
				<a class="o-in-page-nav__item--section-4" href="#section-4">section 4</a>
			</nav>
		</div>
		<div data-o-grid-colspan="12 M9">
			<div class="demo-section">
				<h2 id="section-1">SECTION 1</h2>
				<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&apos;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
			</div>
			<div class="demo-section">
				<h2 id="section-2">SECTION 2</h2>
				<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&apos;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
			</div>
			<div class="demo-section">
				<h2 id="section-3">SECTION 3</h2>
				<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&apos;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
			</div>
			<div class="demo-section">
				<h2 id="section-4">SECTION 4</h2>
				<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&apos;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
			</div>
		<div>
	</div>
<div>



</div></div></div></div>
Bower Dependencies
o-viewport ^v3.1.0
GitHub Repository

Quickstart

Build Service

Add the following to your <script> and <link> tags.

o-in-page-nav@^1.0.0-beta.5

How do I do that?

For more information see the Origami build service.

Manual Build Process

Run the following command in the root directory of your project, to add this dependency to your bower.json file:

bower install --save "o-in-page-nav"@"^1.0.0-beta.5"

For more information see the Origami build process.