From Wikipedia, the free encyclopedia

Javascript code that helps to navigate in long articles. Code inserts table of contents-links beside the [edit] tag, so that user can navigate to TOC by clicking a link.

Usage

//add this to vector.js or whatever style you use. after adding hit ctrl + F5 to reset the browser.

mw.loader.load("https://en.wikipedia.org/?title=User:Pasixxxx/TOCLinker.js&action=raw&ctype=text/javascript");

Code

User:Pasixxxx/TOCLinker.js

See also

There is a similar and leaner script than this at w:Wikipedia:Back_to_top and it almost does the same things as this. It does not work while editing an article.

From Wikipedia, the free encyclopedia

Javascript code that helps to navigate in long articles. Code inserts table of contents-links beside the [edit] tag, so that user can navigate to TOC by clicking a link.

Usage

//add this to vector.js or whatever style you use. after adding hit ctrl + F5 to reset the browser.

mw.loader.load("https://en.wikipedia.org/?title=User:Pasixxxx/TOCLinker.js&action=raw&ctype=text/javascript");

Code

User:Pasixxxx/TOCLinker.js

See also

There is a similar and leaner script than this at w:Wikipedia:Back_to_top and it almost does the same things as this. It does not work while editing an article.


Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook