FANDOM


FloatingToc
Type JavaScript
Description turns the table of contents into a floating panel
Scope site- or user-script
Author(s) Pecoes
Updated 3 Jan 2013
Code /code.js
Skins Oasis
Examples World of Warcraft at WoWWiki
Lord of Ultima Wiki

FloatingToc adds a button to the table of contents that will turn it into a floating panel when clicked. You can move the panel anywhere you like. It will stay in a fixed position when you scroll the screen up or down. And when you close the panel the table of contents will slip back into its original place.

Installation

See also: Help:JavaScript and CSS Cheatsheet

To install FloatingToc, simply add the appropriate row to your importArticles() call in your global.js.

importArticles({
    type: 'script',
    articles: [
        'u:dev:FloatingToc/code.js'
    ]
});

Options

File:FloatingToc

none at this point

Translation

If you'd like to translate the titles and captions, post them on the talk page please (or add them directly to the code if you know what you're doing)!

  1. Contents
  2. Table of Contents
  3. Open
  4. Close
  5. Back to Top
  6. Reset

Demos

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

查看其他FANDOM

随机维基