Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This jQuery plugin builds a list with all the page links and appends it at the bottom of the printed page.
branch: master

This branch is even with dompuiu:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demo
src
README.md

README.md

jQuery Footnote Links

This plugin builds a list with all the links of a page. The list is visible only in browser's print preview window. It's inspired from the Footnote links script.

How To Use

In order to use this plugin you must insert into the page the followings:

  • The jQuery script file;
  • The plugin file;

You can initialize the plugin by calling footnoteLinks function on any jQuery collection.

Example:
$('body').footnoteLinks();.

Demo:
You can see a demo here.

Config Options

The following config options can be sent when calling the plugin:

  • ignoreCls: a class name that will make the link on which is found to be skipped from the list (default: '');
  • listCnt: the container where the footnote list will be appended (default: '');
  • listCls: the CSS class that will be appended to the footnote list (default: 'footnote-links');
  • noteCls: the CSS class that will be appened to the footnotes references (default: 'footnote');
  • deploy: automaticall add styles tag that will make the list visible only in print preview (default: true);

Supported Browsers

  • Internet Explorer 7, 8 and 9
  • Google Chrome
  • Firefox
  • Opera
  • Safari

License

Licensed under the MIT license.

Something went wrong with that request. Please try again.