Open main menu

Extension:Chrome Menu

This page is a translated version of the page Extension:Chrome Menu and the translation is 24% complete.

Other languages:
English • ‎español • ‎中文 • ‎日本語
MediaWiki 拡張機能マニュアル
OOjs UI icon advanced.svg
リリースの状態: ベータ
説明 Create pages with "Dropdown Menus"
作者 Eric Fortin (Kenyu73talk)
最新バージョン 0.1 - 2009-04-25
ライセンス GPL
ダウンロード ダウンロード で翻訳を利用できる場合は、Chrome Menu 拡張機能の翻訳にご協力ください
使用状況とバージョン マトリクスを確認してください。

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>
  [ DrudgeReport]
  [ MediaWiki]
  [ MaxKeiser]
  [ 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" />',

My other extensions