Skip to content

fzondlo/jquery-columns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

jQuery ul (unordered lists) Columns

jQuery plugin that takes any unordered list and splits it into a specified number of columns.

Really easy to use. First include jquery. Then include jquery.columize-unordered-list.js

Here's a live example of how I use this script:

http://jsfiddle.net/EebVF/5/


Here's a quick example of how you could apply this across all uls with a class of "cols2"

$(document).ready(function() {
  $('ul.cols2').columnize(2)
});

You would then want to apply your css:

ul.cols2 { 
  width: 50%; 
  float: left; 
}

And you're done!

About

jQuery plugin that takes any unordered list and splits it into a specified number of columns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published