[pmwiki-users] PageTOC used in sidebar

Patrick R. Michaud pmichaud at pobox.com
Sun Apr 9 19:31:00 CDT 2006


On Mon, Apr 10, 2006 at 12:19:36PM +1200, John Rankin wrote:
> On Sunday, 9 April 2006 10:50 AM, Tegan Dowling <tmdowling at gmail.com> wrote:
> >I have a very long page with (:toc-hide:) on it.  The sidebar
> >has (:toc-page Longpage self=1:), and that's great.  But the
> >sidebar's toc shows the "hide" link at the top, and that "hide"
> >link is inoperative.  It would be good if that link either
> >actually worked OR just weren't there. 
> 
> It's supposed to work. It *does* work when you are on the
> page itself, but I see that it doesn't otherwise. I'll look
> into it -- this is a bug (it's not loading the javascript).

Just a thought:  If the javascript is being loaded into $HTMLHeaderFmt[]
from the markup, then if the markup is in the sidebar the headers
have already been output (i.e., it's too late then).

Pm




More information about the pmwiki-users mailing list