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

limit count of columns #191

Open sashsvamir opened 9 years ago

sashsvamir commented 9 years ago

I not found option to limit quantity of columns. I need set from 2 to 3 columns for my content, it's possible?

sidaurukfreddy commented 9 years ago

What do you mean limit it @sashsvamir ? i guess you trying to limit the char or what, if the only make your content to be 2 coloums or 3 coloumn you should read the documentation, here is mine limit 3

$('.childrenungan').columnize({ columns: 3 });

sashsvamir commented 9 years ago

Thanks for reply sidaurukfreddy ! I mean that i want make my content responsive by window width size, when size bigger or smaller than some width, stop columnize. Now, when i make page very wide, columnize continue split content to more and more columns and in my case this looks not good.

sidaurukfreddy commented 9 years ago

hem i use this for my project but don't know why my second project can't handle this, in my first project it success devide by width screen but now in my second projects can't handle this, well you should use width in javascript to detect i

if($(window).width() < 620){ $('.childrenungan').columnize({ columns: 1 });

} else { $('.childrenungan').columnize({ columns: 3 }); }

for documentation i make blog at here, if you have another way to make this issue solved be nice to disscuss ya, http://sidaurukfreddy.blogspot.com/2015/07/making-style-newspaper-using-html.html

Freddy Sidauruk