On-topic: HTML/JS help please

Oliver Gorwits oliver.gorwits at oucs.ox.ac.uk
Wed Feb 10 18:49:05 GMT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/02/2010 14:25, David Cantrell wrote:
> I want to add a Thingy to CPANdeps to let users collapse/expand portions
> of the dependency tree.  How would one go about this?
> 
> Naively wrapping <tr>s in <div>s and toggling their style.display
> doesn't work, presumably because <div> isn't kosher in a <table>.

Use this, it's very simple indeed and works well:

   http://www.mattkruse.com/javascript/mktree/documentation.html

- -- 
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkty/6EACgkQ2NPq7pwWBt5FNACgwUvKbAuP+dYi1Sw6aAh5vjhJ
s84AoPdtgEPf2E1GME9tJSiYWbTZV3Ck
=tosP
-----END PGP SIGNATURE-----


More information about the london.pm mailing list