[pmwiki-devel] togglelink recipe

marc gmane at auxbuss.com
Fri Jan 12 05:17:26 CST 2007


Hans said...
> 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! :)

Just got round to updating these. Thanks, Hans. I can throw away my 
'custom' versions now and revert to HEAD :-)

-- 
Cheers,
Marc




More information about the pmwiki-devel mailing list