jQuery Plugin To Add Sidenotes/Footnotes | explainys.js

explainys.js jQuery plugin for adding side tags to your articles. It can be described as the opposite of hovering bubbles.

Noticeable: Implemented using the html5 details element. Chrome 12 and later is the only browser that fully supports this component. No backup methods have been implemented.

Tags Input Field Made With HTML/CSS and JavaScript

How to make use of it:

1. Load the jQuery library and jQuery plugin files ys.js annotation into the document.

<link href="path/to/explainys.js.css" rel="stylesheet">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="path/to/explainys.js.js"></script>

2. Use the data title and data annotation attributes to create a footnote/side margin.

<span class="explain" 
      data-title="Title" 
      data-explain="Content goes here">
      ... Text ...
</span>

3. Create an empty container to place the footnote/sidenote.

<div id="sidecontent">
  <!-- explainys goes in here -->
</div>

4. Call the function to initialize the plugin with default options.

$('article').explainys();

5. Default settings.

$('article').explainys({

// The class of the details element
detailsClass: 'explainys',

// Class of the span in text
spanClass: ".explain",

// Where to position the details
targetDiv: "#sidecontent",

//Default snippet when text is missing
textFail: "Opps!!! Someone forgot to write the sidenote.&#9786;",

divPosition: 0,
divNumbers: "explainys-number",
divOpen: "open",

});

Easy jQuery Footnote/Sidenote Plugin, explainys.js Plugin/Github


See Demo And Download

Official Website(henriklundgren): Click Here

This superior jQuery/javascript plugin is developed by henriklundgren. For extra Advanced Usages, please go to the official website.

Related Posts

Iconpicker-Bootstrap-5

[Icon Picker] Iconpicker for Bootstrap 5 Icons Library

Bootstrap 5-based icon picker which supports any icon libraries like Bootstrap Icons, Font Awesome[fontawesome.com], etc. Must Read: 1000+ Pixel Perfect SVG Icons For Vue Components | Unicons How…

bootstrap-multiple-image-upload-with-preview

Bootstrap Multiple Image Upload with Preview and Delete | ImagesLoader

ImagesLoader is a standard bootstrap image upload plugin that provides an easy-to-use and nice-looking interface for uploading multiple images to a web server. Must Read: HTML 5…

Animating-Split-Flap-Displays-fallblatt

A Lightweight jQuery Plugin for Animating Split-Flap Displays | fallblatt

fallblatt is a lightweight jQuery plugin for animating split screens. This jQuery plugin allows you to include such offers in your web application. Everything from virtual departure…

bootstrap-5-dark-theme

Dark & Light Switch Mode Toggle for Bootstrap 5

Switching to dark mode is done by toggling HTML tags that include -dark or -light as a category. It is made by manipulating the DOM with JavaScript. The text color also changes depending…

jQuery-SyoTimer-Plugin

jQuery Plugin for Countdown Timer on HTML Page | SyoTimer

yoTimer jQuery plugin allows you to create digital style countdowns/periodic timers on the webpage, with callbacks support and timezone/translation customization. Features Periodic count with the specified period…

vue-js-periodic-table

Dynamic, Data-driven Periodic Table built with Vue.js

Periodicity is a dynamic, data-driven periodic table created with Vue.js that uses D3 animations and graphs to show the beauty of periodic trends. Built With vue.js (component…