Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.
/ multiColumnList Public archive

DEPRECATED - Create multi column list from ul's

Notifications You must be signed in to change notification settings

ifthenelse/multiColumnList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Warning

As 2023 this repository is deprecated in favor of CSS Multi-column Layout now widely supported on all major browsers.

MultiColumnList

MultiColumnList automatically creates multi column lists out of ul elements. It depends on the Mootools (1.2+ framework) but can easily be decoupled for other javascript frameworks.

Usage

Create (or generate) a list like this:

<ul class="columnList columnAmount[4]">
	<li>content here..</li>
	etc..
</ul>

Set a width for the columns in CSS

/* for all instances */
.columnList li {
	width: 220px;
}

/* for specific instances */
#myList li {
	width: 350px;
}

At the bottom of your page place:

<script type="text/javascript">
	new multiColumnList();
</script>

About

DEPRECATED - Create multi column list from ul's

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published