An AJAX glossary macro

  • Tip Category - Developing Wiki Applications
  • Tip Added By - PaulHarvey - 30 Mar 2010 - 13:26
  • Extensions Used - EasyMacroPlugin
  • Useful To - Beginners
  • Tip Status - New
  • Related Topics -

Problem

You want a macro that will mark up certain words somehow so that an informative popup will appear when the mouse hovers over a term. As an added bonus, avoid adding too much server load by needlessly parsing large glossary tables every time the macro is used

Context

Solution

Known Uses

http://trin.org.au/Mangroves/Glossary

Known Limitations

Update 2011-10-13: This has been re-written to use standard JQueryPlugin features

Ingredients

Please feel free to modify

  • glossary_screenshot.png:
    glossary screenshot.png

-- PaulHarvey - 30 Mar 2010

Fixed some bugs in the GlossaryMacro js

-- PaulHarvey - 13 Oct 2011

BestPracticeTipsForm edit

Category Developing Wiki Applications
Related Topics
Topic revision: r3 - 13 Oct 2011, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy