The Columnizer jQuery Plugin will automatically layout your content in newspaper column format. You can specify either column width or a static number of columns. And, of course, it’s easy to use!
Ran into issue with infinite loop on the while at line 532.
$destroyable.contents().length gets stuck on 2, and both of those items are empty
Then on line 564 goes in here and appends more emptyness to $col.contents(), goes in every time etc
Hacked a fix as so, insert line 585 (end of while loop)
if($destroyable.contents().length > 0)
{
for(int i = $destroyable.contents().length - 1; i >= 0; i--)
{
if($destroyable.contents(i).length == 0)
$destroyable.contents.remove(i);
}
}
I would submit pull request but I suspect there's going to be a root cause/better place to fix this
Ran into issue with infinite loop on the while at line 532.
$destroyable.contents().length gets stuck on 2, and both of those items are empty Then on line 564 goes in here and appends more emptyness to $col.contents(), goes in every time etc
Hacked a fix as so, insert line 585 (end of while loop) if($destroyable.contents().length > 0) { for(int i = $destroyable.contents().length - 1; i >= 0; i--) { if($destroyable.contents(i).length == 0) $destroyable.contents.remove(i); } }
I would submit pull request but I suspect there's going to be a root cause/better place to fix this
Thanks