Skip to content

A gadget to add persistent table of contents on Wikipeida articles

License

Notifications You must be signed in to change notification settings

umbardacil/persistent-toc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Persistent Table of Contents for Wikipedia

A gadget to add persistent table of contents on Wikipedia articles. The table of contents move to the left sidebar after scrolling past the first section and they expand on hover.

Please report problems on the issue tracker.

Usage

Add the following code to your common.js:

mw.loader.load( 'https://cdn.rawgit.com/prtksxna/persistent-toc/master/ptoc.css', 'text/css' );
mw.loader.load( 'https://cdn.rawgit.com/prtksxna/persistent-toc/master/ptoc.js', 'text/javascript' );

Screenshots

screen shot 2015-01-09 at 5 31 40 pm screen shot 2015-01-09 at 5 32 03 pm

About

A gadget to add persistent table of contents on Wikipeida articles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.5%
  • CSS 23.5%