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 attachments
I Attachment Action Size Date Who Comment
JQueryExtrasPlugin.tgztgz JQueryExtrasPlugin.tgz manage 221 K 30 Mar 2010 - 13:04 PaulHarvey  
JQueryExtrasPlugin.zipzip JQueryExtrasPlugin.zip manage 222 K 30 Mar 2010 - 13:04 PaulHarvey  
JQueryExtrasPlugin_installer.pl.txttxt JQueryExtrasPlugin_installer.pl.txt manage 5 K 30 Mar 2010 - 13:05 PaulHarvey  
glossary_screenshot.pngpng glossary_screenshot.png manage 18 K 30 Mar 2010 - 13:26 PaulHarvey  
Topic revision: r3 - 13 Oct 2011, PaulHarvey - This page was cached on 17 Nov 2018 - 19:55.

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