Extensión:Chrome Menu

This page is a translated version of the page Extension:Chrome Menu and the translation is 20% complete.
Extensión matemática MediaWiki
OOjs UI icon advanced-invert.svg
Chrome Menu
Estado de lanzamiento sin mantenimiento
Descripción Create pages with "Dropdown Menus"
Autor(es) Eric Fortin (Kenyu73discusión)
Última versión 0.1 - 2009-04-25
Licencia GNU Licencia Pública general 3.0
Descarga Página del proyecto
Subversion [Ayuda ]

Examina el código fuente
Ver cambios en el código

Nota Nota: No localisation updates provided by Translatewiki.net .

Verificar uso y versión de la matriz.

This allows the author to create dropdown menus easily 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


<menu name=myMenu align=center>
  [http://www.drudgereport.com DrudgeReport]
  [http://www.MediaWiki.com MediaWiki]
  [http://www.maxkeiser.com MaxKeiser]
  [http://www.google.com Google]
  • Menus are delimited by: "|-|"
  • Menus must have unique names if more than one used per wiki page


To install this extension, add the following to LocalSettings.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" />',