Display a banner-link to promote International Stuttering Awareness Day (ISAD) — 22nd October.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
style
test
.gitignore
.travis.yml
README.md
index.js
package.json

README.md

Build status — Travis-CI js-semistandard-style ISAD-widget on Npmjs License Total downloads ~ NPMJS.com

isad-widget

Display a banner-link to promote International Stuttering Awareness Day (ISAD) — 22nd October each year. The banner appears for a configurable number of days before and after.

October 22 was designated International Stuttering Awareness Day (ISAD) in 1998.[1] The day is intended to raise public awareness of the millions of people – one percent of the world's population[2][3] – who have the speech disorder of stuttering, also known as stammering. (Wikipedia)

International Stuttering Awareness Day (ISAD)

International Stuttering Awareness Day (ISAD)

International Stuttering Awareness Day (ISAD)

Note ~ this is not an official widget!

Install and test

npm i isad-widget
npm run build
npm test

Usage

<div id="isad-widget"></div>

<script src="dist/isad-widget.js"></script>

Via unpkg — production CDN:

<div id="isad-widget"></div>

<script src="https://unpkg.com/isad-widget@1.1.2#._.js"></script>

Link to the BSA, instead of ISA (the default):

<div id="isad-widget" data-isad-widget='{ "point_bsa": true }'></div>

<script src="dist/isad-widget.js"></script>

Configure the banner to appear for 28 days before ISAD, instead of the default:

<div id="isad-widget" data-isad-widget='{ "days_before": 28 }'></div>

<script src="dist/isad-widget.js"></script>

Credits

  • The themed posters (e.g. 2017 'A world that understands stuttering') are copyright the ISA,
  • The ISAD-ribbon is available under a Creative Commons CC-BY-3.0 license,
  • The Teal-ribbon is available under a Creative Commons CC-BY-SA-3.0 license.

See the related gaad-widget.

License

License: MIT.

Twitter: @nfreear.