adamwulf / Columnizer-jQuery-Plugin

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!
http://welcome.totheinter.net/columnizer-jquery-plugin/
Other
758 stars 147 forks source link

Awkward Column Break Points #214

Closed nickff closed 7 years ago

nickff commented 7 years ago

Hi Adam,

First of all, thanks for the great plugin!

Secondly, I'm using it here - http://www.vmdo.com/about.html - and noticing that the first column often breaks at an awkward point, but as soon as you resize the browser it becomes "smarter" and breaks to the second column at a more appropriate place.

Here's an example of the awkward break on page load:

awkward

And then the better break just after resizing the browser window:

good

Any ideas on how to get it to break at that more appropriate juncture on page load? Let me know!

adamwulf commented 7 years ago

Is your script definitely running on page load and not before? If so, another thought would be to adjust the accuracy option to some low integer - maybe around 3 or 5. That'll affect the amount of text that's calculated when chopping text between columns.

nickff commented 7 years ago

@adamwulf worked like a charm. thanks so much, adam!!

adamwulf commented 7 years ago

glad to hear it!