Catch up to highlight 3.51 API change.
[ikiwiki] / doc / templates / popup.mdwn
1 Use this template to create a popup window that is displayed when the mouse
2 is over part of the page. This template has two parameters:
3 <ul>
4 <li>`mouseover` - This is the text or other content that triggers the
5 popup.
6 <li>`popup` - This should be the content of the popup window. It can be
7 anything, even images or a whole little wiki page, but should not be too
8 large for good usability.
9 </ul>
10 Note that browsers that do not support the CSS will display the popup
11 inline in the page, inside square brackets.
12
13 [[!templatebody <<ENDBODY
14 <span class="popup"><TMPL_VAR mouseover>
15 <span class="paren">[</span><span class="balloon"><TMPL_VAR popup></span><span class="paren">]</span>
16 </span>
17 ENDBODY]]