On-topic: HTML/JS help please

Richard Huxton dev at archonet.com
Thu Feb 11 17:28:25 GMT 2010


On 11/02/10 17:02, Simon Wilcox wrote:
> On 11/2/10 16:28, David Cantrell wrote:
>>
>> I assume that the reason is that people haven't bothered looking at the
>> site. Because if they did, they would see obviously tabular data.
>
> You didn't cite a link but I assume we're looking at something like this:
>
> http://deps.cpantesters.org/?module=HTML%3A%3ATreeBuilder&perl=5.10.0&os=Linux
>
> Doesn't look very tabular to me. I see a bunch of stuff lining up but
> that's not the same as a table.

Blimey - it is a table too.

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.

-- 
   Richard Huxton
   Archonet Ltd


More information about the london.pm mailing list