Experimental Project

This is a sandbox project, which contains experimental code for developer use only.

Fragmentions is a cross between URL "hash" fragment identifiers and in-browser full-text search.

The Fragmention module implements a JavaScript polyfill for the Fragmention concept which was created by Kevin Marks on the Indie Web Camp discussion forum.

Fragmentions find the first matching word or phrase in a document and focuses its closest surrounding element. The match is determined by the case-sensitive string following the ## double-hash. The closest surrounding element may be a span, paragraph, heading, button, input, or any other container.

This module is a simple implementation of Jonathan Neal's Fragmentions script.

Project Information