]> sipb.mit.edu Git - ikiwiki.git/blob - doc/templates/popup.mdwn
remove top-level directive page from basewiki
[ikiwiki.git] / doc / templates / popup.mdwn
1 <TMPL_UNLESS NAME="mouseover">
2 Use this template to create a popup window that is displayed when the mouse
3 is over part of the page. This template has two parameters:
4 <ul>
5 <li>`mouseover` - This is the text or other content that triggers the
6 popup.
7 <li>`popup` - This should be the content of the popup window. It can be
8 anything, even images or a whole little wiki page, but should not be too
9 large for good usability.
10 </ul>
11 Note that browsers that do not support the CSS will display the popup
12 inline in the page, inside square brackets.
13 </TMPL_UNLESS>
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>