[thelist] JavaScript/DOM columns solutions/ideas?

ben morrison morrison.ben at gmail.com
Fri Sep 15 03:50:58 CDT 2006


On 9/15/06, sam foster <potatosculptor at gmail.com> wrote:
> the IHT site used to do this, not sure if it still does - they seem to
> mix it up fairly often:
>
> http://www.iht.com/
>
> Not saying that makes it any easier or advisable. It could be done,
> but you'd want to be sure that was what they really wanted. It would
> suck to develop it and then have them change their mind when they saw
> it in action :)
> It would be a lot easier if the items were of a known height. If you
> have to account for text wrapping and variable font-sizes then you
> have to render everything off-screen, or using visibility: hidden,
> measure it and start popping items off the stack until it fits.
>
> Sam

I came across this code ages ago, which might be a good pointer:

http://www.smokinggun.com/code/sg_layout.php#

ben


-- 
Ben Morrison



More information about the thelist mailing list