On-topic: HTML/JS help please

Simon Wistow simon at thegestalt.org
Thu Feb 11 22:18:11 GMT 2010

On Thu, Feb 11, 2010 at 05:28:25PM +0000, Richard Huxton said:
> You already have an "id" attribute on the toggle links (e.g. "toggler_1"). 
> Add a class on each "tr": "depends_on_1" and then a couple of lines of 
> jquery or similar should let you toggle the rows on/off.

I knocked this together over lunch


All in a table, readable without JS on but can collpase and expand 
trees if you have it on.

Code that generated it is in


More information about the london.pm mailing list