jQuery Columnizer plugin only working correctly on window resize.
Posted
by rcon
on Stack Overflow
See other posts from Stack Overflow
or by rcon
Published on 2010-02-06T02:51:34Z
Indexed on
2010/05/08
21:18 UTC
Read the original article
Hit count: 141
Hi, I'm using the jQuery Columnizer plugin, and I'm running into a weird problem. Using 3 columns, I columnize content from a hidden div into a target div. It distributes only one paragraph to each of the first two columns and then puts all the remaining paragraphs into the last column. But the strange thing is that it auto-corrects itself when the window is resized. I'm guessing it has something to do with the target div resizing since opening a firebug console window also causes it to auto-correct itself. Setting lastNeverTallest:true doesn't seem to do anything.
$('#hidden-about').columnize({ columns: 3,
target: '#interiors',
lastNeverTallest: true,
doneFunc: function() {
$('#interiors').css('white-space', 'normal');
$('#interiors').fadeIn(200);
}
Thanks for any suggestions!
© Stack Overflow or respective owner