ABCHoverIndex

Summary: displays a pagelist as an alphabetic hover menu, sorted by title
Version: 2008-04-20
Prerequisites: PmWiki 2.2.0
Status: stable
Maintainer: HansB
Discussion: ABCHoverIndex-Talk
Discussion: ABCHoverIndex-Talk

Questions answered by this recipe

This section is optional; use it to indicate the types of questions (if any) this recipe is intended to answer.

Description

This script adds a pagelist format fmt=hoverindex, which displays a pagelist as a horizontal row of alphabetical index letters, showing the alphabetical pagelist subsections only when hovering the mouse pointer over the index letters. The pages are sorted by title and displayed by title.

Copy abchoverindex.phpΔ to cookbook/ folder and add to config.php

include_once("$FarmD/cookbook/abchoverindex.php");

This recipe is based on DictIndex and LinkCSSToolTip, combining an alphabetical pagelist index (but sorted and displayed by page titles, not names) and css to display each pagelist subsection when hovering with the mouse over the index letter.

Example markup (activated on this page):

(:pagelist group=PmWiki list=normal fmt=hoverindex:)

Notes

Release Notes

  • 2008-04-20: fixed removal of last index letter separator.
  • 2008-04-18: initial release.

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See Also

Contributors

Comments

See discussion at ABCHoverIndex-Talk

User notes +1: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.