On-topic: HTML/JS help please

David Cantrell david at cantrell.org.uk
Thu Feb 11 13:40:18 GMT 2010


On Wed, Feb 10, 2010 at 06:49:05PM +0000, Oliver Gorwits wrote:
> 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

I'm going to be very rude to the next person to suggest something that
assumes I have a hierarchy of <ul>s instead of a <table>.

-- 
David Cantrell | top google result for "internet beard fetish club"

    Immigration: making Britain great since AD43


More information about the london.pm mailing list