MediaWiki extensions manual
PanScroll
Release status: unmaintained
Implementation Tag
Description This extension will allow an element to be scrolled through the use of panning (drag & drop)
Author(s) Mathias Lidal
Latest version 0.1 (2012-06-18)
MediaWiki >= 1.29.0
License GNU General Public License 3.0
Download
CHANGELOG
Hooks used
  • ParserFirstCallInit
Quarterly downloads 0
Translate the PanScroll extension if it is available at translatewiki.net

What can this extension do?

This extension will allow an element to be scrolled through the use of panning (drag & drop)

Usage

Download instructions

  1. Download the extension from the right hand side menu.
  2. Unpack the extension in your mediawiki installation under the folder extensions

Installation

To install this extension, add the following to LocalSettings.php:

#add configuration parameters here
#setup user rights here
require_once("$IP/extensions/PanScroll/PanScroll.php");

Configuration parameters

NameDescriptionInstance example usage
widthSet width of the PanScroll container. Can be either absolute value (e.g. 500px) og a percentage which will be a percentage of the width of the contained element.<panscroll width="500px">
heightSet height of the PanScroll container. Can be either absolute value (e.g. 500px) og a percentage which will be a percentage of the height of the contained element.<panscroll height="500px">

Example usage

<panscroll width="500px" height="500px">
{| class="wikitable"
.
.
}
</panscroll>
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.