Columnizer-jQuery-Plugin icon indicating copy to clipboard operation
Columnizer-jQuery-Plugin copied to clipboard

limit count of columns

Open sashsvamir opened this issue 9 years ago • 3 comments

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

sashsvamir avatar Jun 13 '15 20:06 sashsvamir

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 });

sidaurukfreddy avatar Jul 08 '15 11:07 sidaurukfreddy

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.

sashsvamir avatar Jul 13 '15 08:07 sashsvamir

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

sidaurukfreddy avatar Jul 13 '15 08:07 sidaurukfreddy