An open API service indexing awesome lists of open source software.

https://github.com/ocean/fragmention-drupal

Fragmention concept in a Drupal module.
https://github.com/ocean/fragmention-drupal

Last synced: 9 months ago
JSON representation

Fragmention concept in a Drupal module.

Awesome Lists containing this project

README

          

Fragmention Drupal module
==================

Fragmention concept in a Drupal module.

Currently this is a sandbox module located at [https://drupal.org/sandbox/ocean/2247743](https://drupal.org/sandbox/ocean/2247743).

Contents
---------------------

* Introduction
* Installation
* Credits

Introduction
------------

The Fragmention module implements a JavaScript polyfill for the [Fragmention concept](http://indiewebcamp.com/fragmention) which was created by [Kevin Marks](http://kevinmarks.com) on the [Indie Web Camp](http://indiewebcamp.com/) 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](http://www.jonathantneal.com/) [Fragmentions script](https://github.com/chapmanu/fragmentions).

Installation
------------

1. Copy the fragmention directory to your sites/SITENAME/modules directory.

2. Enable the module at Administer >> Site building >> Modules.

Credits
-------
* [Kevin Marks](http://kevinmarks.com)
* [Jonathan Neal](http://www.jonathantneal.com)