Multiple Columns with Javascript
Sunday, July 20, 2008
A while ago I thought it would be useful / fun to have a script that divides content up into multiple columns. I know that CSS3 will have this ability but that day is probably still a ways off. I tried several multiple columns solutions out there and they all seemed to break in IE or not work very well in one way or another. So I created MooColumns.
With MooColumns you can choose how many columns you want, control how the columns and gutters look with CSS. Allow the script to auto-divide the content, or use column breaks (a span with the class of colBreak).
It requires MooTools 1.2 and has been tested in IE6, IE7, Firefox 2, Firefox 3, and Safari 3.
You can get the latest version of MooColumns from my MooColumns page.
Labels: javascript, MooColumns, mootools
1 Comments:
Hye all;
i recently installed the mooColumns script. great work! But come upon this problem, i also inserted some flash banners in the page which are build up with the swfObject script.
This seems to create a scroll and performance bug in IE7. The vertical scrolldown function in IE starts bouncing when trying to scroll to the bottom off the page. And also the flash animation becomes incredible slow??
Anyone experienced this before or better though has got a solution?
Kind regards, Hans S
Post a Comment
<< Home