Extension:Chrome Menu
From MediaWiki.org
|
Release status: beta |
|
|---|---|
| Description | Create pages with "Dropdown Menus" |
| Author(s) | Eric Fortin (Kenyu73Talk) |
| Last Version | 0.1 - 4/25/2009 |
| License | GPL |
| Download | download |
|
check usage (experimental) |
|
This allows the author to create dropdown menus easiliy within a page. The links are Wiki syntax compatible.
- dedicated CSS file for easy customization
- dedicated Javascript file
Based off the javascript code from Dynamic Drive
[edit] Usage
<menu name=myMenu align=center> menu1= [http://www.drudgereport.com DrudgeReport] [http://www.MediaWiki.com MediaWiki] [[SomeWikiPage]] |-| menu2= [http://www.cnn.com CNN] [http://www.google.com Google] </menu>
- Menus are delimited by: "|-|"
- Menus must have unique names if more then one used per wiki page
[edit] Installation
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/ChromeMenu/ChromeMenu.php");
- Note: As of beta version 0.1, I have the following hardcoded in chrome.js, which may or may not need to be changed for other wiki installs. Please note that the code uses mediawiki by default. Most sites will probably have to change this to get the menu arrow gifs to display.
offsetLeft: -150, // this sets the dropdown location offsetTop: -35, // this sets the dropdown location dropdownindicator: '<img src="/mediawiki/extensions/ChromeMenu/down.gif" border="0" />',
[edit] My Other Extensions
Current MediaWiki Projects
Extension:Calendar (Kenyu73)
Extension:LaunchExternal
Extension:Presentation
Extension:Tabber
Extension:Menu