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

Is there any option like "destroy"? #187

Open Viveksubramani opened 9 years ago

Viveksubramani commented 9 years ago

Is there any option like "destroy"? or any other option is there to stop creating drilldown menu?

adamwulf commented 9 years ago

i don't quite understand what you mean by destroy - what would that option do exactly?

Viveksubramani commented 9 years ago

Basically I want to columnize the content into three on desktop view and for smaller screens I wanted to columnize into single column. I try to use "$('.drilldown-container').columnize({ columns: 3, buildOnce: true});" for desktop and "$('.drilldown-container').columnize({ columns: 1});" for smaller screen. My content is mixed of nested ul li format, when I resize the screen your plugin does one and three column graphically. but some "li" is pushed to different "ul" when I make it single column from three column.

Is there any option where I dont want to columnize the content for smaller screens?

adamwulf commented 9 years ago

There's no option or this, instead, when you detect that you're on a smaller screen, just don't call columnize().