Extension:PanScroll

MediaWiki extensions manual
OOjs UI icon advanced-invert.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.29.0
License GNU General Public License 3.0
Download
CHANGELOG
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)

UsageEdit

Download instructionsEdit

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

InstallationEdit

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 parametersEdit

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 usageEdit

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