On-topic: HTML/JS help please

Jonathan Stowe jns at integration-house.com
Fri Feb 12 23:46:05 GMT 2010


On Thu, 2010-02-11 at 13:40 +0000, David Cantrell wrote:
> 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>.
> 

unordered lists are the new table, it's just like 1997 really but with a
different semantic element being abused for presentation purposes,

/J\
-- 
Rabid Gravy:    http://rabidgravy.com/
On Soundcloud:  http://soundcloud.com/rabidgravy
Twitter:        http://twitter.com/RabidGravy


More information about the london.pm mailing list