[pmwiki-devel] toggling content
Simon
nzskiwi at gmail.com
Fri Jun 5 16:58:30 PDT 2020
I'm writing a recipe where I wish to toggle content,
and rather than implement another toggle or upload another javascript I'd
like to utilise something already built in, or available in PmWiki
For example I've looked at https://www.pmwiki.org/wiki/Cookbook/UnToggle
My requirements are along the lines of:
<p class="alerthead"><span class="hideme">Hide</span><span
class="showme">Show</span> alert</p>
<p class="alertbody showme">Alert 1 text</p>
<p class="alertbody showme">Alert 2 text</p>
When I click on the alert head I'd like to toggle the display of the alerts
on and off
Any suggestions
tia
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20200606/8fa07279/attachment.html>
More information about the pmwiki-devel
mailing list