Columnizer-jQuery-Plugin
Columnizer-jQuery-Plugin copied to clipboard
Should have some hard-coded dontsplit's (suggestion)
Solved via a simple new line of code
$(this).find('table, thead, tbody, tr, th, td, li').addClass('dontend');
just before
return this.each(function() {
In fact...
$(this).find('table, thead, tbody, tfoot, colgroup, caption, label, legend, script, style, textarea, button, object, embed, tr, th, td, li, h1, h2, h3, h4, h5, h6, form').addClass('dontsplit');
Of course people can hard code dontsplit, but I am making columnizer work in a context where markup is not made by a developer. So it has to work seamlessly. Also imagine it working for system-generated content seamlessly.