-
-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Description
Hello,
I'm using this helpful plugin to create horizontal columns (like your example 5 on the website - http://welcome.totheinter.net/autocolumn/sample5.html ). However, the columnizer needs some assistance to resize the container after it has finished columnizing as it also contains an image. Thus, my code looks like this:
$columnize.columnize({
width: 254,
height: 445,
buildOnce: true,
doneFunc: function() {
var columnizeWidth = $columnize.width() + $('.illustration').width() + 100;
var contentWidth = columnizeWidth + $('.illustration').width();
$columnize.width(columnizeWidth);
$content.width(contentWidth);
bottomLineWidth = contentWidth + linkPanelWidth + 105;
}
});
This works fine almost all the time, but if the window width is below a certain value so that the beginning of the column div is not visible, the doneFunc functions do not fire (I've checked this with console logs). The columns get created, so the plugin is clearly running, but for some reason the callbacks are not happening. Do you have any thoughts about why this might be?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels