[pmwiki-users] FAQs and anchors and TOC

John Rankin john.rankin at affinity.co.nz
Mon Nov 7 14:35:57 CST 2005

On Monday, 7 November 2005 10:52 PM, Roman <romat2 at gmail.com> wrote:
>Thank you for (:toc-float:). But on my FAQ list page I need to combine
>$TocFloat switch with remote TOC. (:toc-float:) markup is able to
>switch $TocFloat but also generates TOC which is unwanted on (my) FAQ
>list page. You gave me the idea so defined this markup:
>    "TocFloatToggle()");
>function TocFloatToggle() {
>  global $TocFloat;
>  $TocFloat = !$TocFloat;
>(May be it can shorter, I am only administrator.)
>And now I use it this way:
>(:toc-page FAQPAge1:)
>(:toc-page FAQPAge2:)
>(:toc-page FAQPAge3:)
>(:toc-page FAQPAge4:)
I'll see about adding this to the script.

John Rankin

More information about the pmwiki-users mailing list