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
760 stars 147 forks source link

Revert to original method #112

Open pierluigi opened 11 years ago

pierluigi commented 11 years ago

For responsive websites trying to implement mediaqueries ( Matchmedia polyfill + EnquireJS kind of scenario) it would be great to have an option that resets the columnized content to its initial state so that on query change the columnizer could be retriggered with different and more appropriate settings.

narenprystino commented 11 years ago

Kindly help. I have the same.

adamwulf commented 11 years ago

I'll likely add this option in a future build, but for now you can use the target: as a workaround. this will clone the content as it columnizes, and will leave the original content intact. so keep your content in a visibility:hidden

somewhere on your page, and then columnize into the visible location using target: parameter.

then to revert, just .clone() from your hidden content into the visible content area.