[pmwiki-users] new recipe ShowHide
design at softflow.co.uk
Thu Mar 2 05:04:30 CST 2006
I just released the cookbook script showhide.php
This adds markup to create toggle buttons which can show/hide page
The markup (:showhide div=divname:) will create a button which
when clicked will hide the div named divname, and subsequently
toggle to show it etc. Multiple buttons for multiple sections are allowed.
The initial state of the section (hidden or shown) can be set (default
The label of the button for hidden and shown state of div can also be
set (defaults are Show and Hide).
subsequent toggle states instantly (no page reloads).
Pm, perhaps the script can be enabled for the Cookbook/ShowHide page,
so a sandbox to show it working can be created?
More information about the pmwiki-users