Extension:PanScroll

From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
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.36 Not formally tested
MediaWiki 1.34 Not formally tested
MediaWiki 1.32 Not formally tested
License GNU General Public License 3.0
Download
CHANGELOG
Translate the PanScroll extension if it is available at translatewiki.net

Check usage and version matrix.

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>