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

Removing the columns when changing from landscape to portrait #192

Open Gizrah opened 9 years ago

Gizrah commented 9 years ago

On the issue topic at https://github.com/adamwulf/Columnizer-jQuery-Plugin/issues/187 you mention there's no option to destroy and to (not) call it depending on screen size.

I'm trying to implement this in responsive webdesign, but when resizing a browser window (and when going from landscape to portrait and back) is it possible to update the column width or completely remove the columnizer effect?

Thanks.

Gizrah commented 9 years ago

This snippet is a bit of a workaround: window.onorientationchange = function() { window.location.reload(); };

but it'd be awesome if Columnizer had a built-in update and/or remove command

sidaurukfreddy commented 9 years ago

Hi @Gizrah i think you should use java script to detect screen, i use this way to make it maintain, here i documentation in my blog, I'm here to help you :smile:

http://sidaurukfreddy.blogspot.com/2015/07/making-style-newspaper-using-html.html