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

Columnizer adds arbitrary width to target

Open mumik opened this issue 13 years ago • 3 comments

Whether I call it with number of columns greater than one, or with column width, columnizer acts strangely. It adds many more columns than in parameter and most of them are empty. Additionaly it adds some huge width parameter to the div containing columns. I've tried different parameters and different styling of the containing div, but it changes nothing. Here is the page I'm working on: http://portal-new.mimuw.edu.pl/

Update: currently I've managed to make it to just two columns but the first one stays empty for no apparent reason.

mumik avatar Aug 22 '12 17:08 mumik

thanks for reporting, definitely something odd going on in columnizer. i'll work on getting a fix out asap

adamwulf avatar Aug 22 '12 20:08 adamwulf

I've found the problem. I had set fixed height of the columns in the css, so the script couldn't check changing height of it. Two things would help avoid such situations:

  1. script changing column height to auto prior to filling it
  2. styling guidelines for columns and container

Thanks for your fast response :)

mumik avatar Aug 22 '12 20:08 mumik

glad you got it fixed! changing height to auto is a great idea, i'll add that in

adamwulf avatar Aug 22 '12 20:08 adamwulf