[pmwiki-devel] togglelink recipe

Hans design5 at softflow.co.uk
Sat Jan 6 05:32:08 CST 2007


Saturday, January 6, 2007, 10:19:41 AM, marc wrote:

>> Is there a strong reason why the JS cannot be loaded into
>> $HTMLFooterFmt instead?  That's pretty well guaranteed to be output
>> after all markup and other items...

> None here. But Hans will know more than I do about the likely effects.

I updated both togglelink.php and showhide.php to load the javascript
inside the function via $HTMLFooterFmt.

See http://www.pmwiki.org/wiki/Cookbook/ShowHide

Thanks for the tip!
When togglelink was developed we did not have $HTMLFooterFmt.
That was the reason for not using it up till now! :)


Hans




More information about the pmwiki-devel mailing list