[pmwiki-users] invisible/visible text

Patrick R. Michaud pmichaud at pobox.com
Sat Feb 11 11:20:54 CST 2006


On Fri, Feb 10, 2006 at 03:40:48PM -0700, H. Fox wrote:
> Some other possibilites:
> 
>    (:showhide hiddenlink="Click for more...":)
>    Text.
>    (:showhideend:)
> 
> or
> 
>    (:toggle:)
>    Text.
>    (:alternate:)
>    Other text.
>    (:toggleend:)

Yet another possibility:

    (:showhide foo:)
    >>id=foo<<
    text text text text
    >><<

This allows the show/hide button to be rendered separately from 
the thing that is being shown/hidden (e.g., in a sidebar).

In fact, it could even work for a sidebar or any other component
of a page:

    (:showhide wikileft:)

Pm




More information about the pmwiki-users mailing list