[pmwiki-users] new recipe ShowHide
pmwiki at ben-amotz.com
Thu Mar 2 07:15:20 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
> is show).
> 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?
Great job! Thank you Hans.
I just tested this out with several different skins* and the results
were consistent on all skins except for Sinorca, which added much more
*The skins I tested were:
More information about the pmwiki-users