I'd like to populate an element (probably a <div>) with a list of hyperlinks. Is there a way to populate content so it fills to the height of the element, then flows to the right, essentially creating dynamic columns? I'm looking for something similar to the file list in a browse dialog. Content will be arbitrarily pulled from the database, so I won't know in advance how many items there'll be.Possible, or am I asking for too much? (This is a customer request, but I can work around if necessary.)

2 answers

0
points

If you are able to use CSS3 you could try the new column properties. There is an excellent article at A List Apart that goes over it pretty well.

Answered almost 7 years ago by Cy Klassen
  • You might also check out Easy List Splitter (jQuery plugin). 1.01 just released. http://www.madeincima.eu/blog/jquery-plugin-easy-list-splitter/ Cy Klassen over 6 years ago
Mottie 1134
0
points

Check out this jQuery plugin called Columnizer, it appears to do what you are requesting. Once all browsers support CSS3, then I would start using CSS to do the same thing.

Answered almost 7 years ago by Mottie