Annotation of wikisrc/templates/popup.mdwn, revision 1.1

1.1     ! jym         1: <TMPL_UNLESS NAME="mouseover">
        !             2: ## Description
        !             3: 
        !             4: Use this template to create a popup window that is displayed when the mouse
        !             5: is over part of the page. This template has two parameters:
        !             6: 
        !             7: * *mouseover* - This is the text or other content that triggers the popup.
        !             8: * *popup* - This should be the content of the popup window. It can be anything, even images or a whole little wiki page, but should not be too large for good usability.
        !             9: 
        !            10: Note that browsers that do not support the CSS will display the popup inline in the page, inside square brackets.
        !            11: 
        !            12: ## Examples
        !            13: 
        !            14: Trigger a popup when [[!template id=popup mouseover="hovering this text" popup="Here comes the content of the popup."]]:
        !            15: 
        !            16:         \[[!template id=popup mouseover="hovering this text" popup="Here comes the content of the popup."]]
        !            17: 
        !            18: </TMPL_UNLESS>
        !            19: <span class="popup"><TMPL_VAR mouseover>
        !            20: <span class="paren">[</span><span class="balloon"><TMPL_VAR popup></span><span class="paren">]</span>
        !            21: </span>

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb