All examples By author By category About

kynnjo

exercise: populating a list

This is some exercise code on the problem of populating a <ul> element subject to constraints and other criteria. It uses an "out-of-sight" dummy list to compute the dimensions it needs to lay out the actual list.