Extension:PanScroll

From mediawiki.org
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
Quarterly downloads 1 (Ranked 148th)
Translate the PanScroll extension if it is available at translatewiki.net

What can this extension do?[edit]

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

Usage[edit]

Download instructions[edit]

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

Installation[edit]

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[edit]

Name Description Instance example usage
width Set 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">
height Set 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[edit]

<panscroll width="500px" height="500px">
{| class="wikitable"
.
.
}
</panscroll>