Use ## double-hash anchors as links to individual words or phrases on in a document.
Fragmentions are anchors to individual words or phrases in a document.
Fragmentions use ## double-hash changes to match words or phrases in a document, jumping to their corresponding element. Matches are case-sensitive and whitespace-insensitive. Corresponding elements may be spans, paragraphs, headings, buttons, inputs, or any other container element.
The fragmention extension lets documents respond to fragmentions. When a fragmention is detected, the document is searched for its matching text. If a match is found, the window jumps to its corresponding element, adding a fragmention attribute for styling.
Additionally, the location object is given a fragmention property.
Latest reviews
- (2014-11-18) A great plugin for generating and consuming Fragmentions. What is a fragmentions? Rather than relying on an html element anchor, fragmentions allow you to link to any part of the page. It works by generating a URL to which two hashtags (##) are appended followed by a search string. If the page contains the search string, you automatically scroll to that position on the page.