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

Added an ability to launch recolumning from external scope #195

Open Finesse opened 9 years ago

Finesse commented 9 years ago

Sometimes there is a need to rebuild columns when window is not resized. Before it could be done by $(window).resize(), but it awakes all other plugins listening to window resize event.

Now it is possible to trigger window resize event that is handled only by Columnizer. So this $(window).trigger('resize.columnizer') makes columns be recalculated, meanwhile standard window resize event still handled properly.