Typesetter CMS section type that builds navs from anchors on a page
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
icons
img
.gitattributes
.gitignore
Addon.ini
AnchorNav.css
AnchorNav.js
AnchorNav.php
AnchorNav_edit.css
AnchorNav_edit.js
LICENSE
README.md

README.md

Anchor Navigation plugin for Typesetter CMS

About

A section type that automatically generates Bootstrap3/4-compatible navs from all anchors (<a id="foo">, <a name="bar">) on the current page.

  • After installation 'AnchorNav' sections are available for adding to page content or layout areas.
  • Section editor options for nav size and horizontal alignment.
  • Navs are generated and updated using JavaScript.
  • Nav items will be named after anchor elements’ text or–if an anchor’s text node is empty–the id/name attribute.
  • Defaults to 0.6s smooth scrolling to the target position - defaults may currently only be changed via config block in AnchorNav.js line 13-17.

See also Typesetter Home, Typesetter on GitHub

Internationalization

English only as of ver. 1.0-b1

Current Version

1.0-b1

Change Log

  • 1.0-b1 - Inital version

Requirements

  • Typesetter CMS 5.0+
  • Typesetter CMS 5.1.1-b1+ recommended
  • Bootstrap 4 theme required for the horizontal alignment option

Manual Installation

  1. Download the master ZIP archive
  2. Upload the extracted folder 'AnchorNavigation-master' to your server into the /addons directory
  3. Install using Typesetter's Admin Toolbox → Plugins → Manage → Available → Anchor Navigation

License

GPL 2 (same as Typesetter CMS).