jquery.divide examples

Get the code.

basic usage

		$('#example1').divide({
			cols:6
		});
	

specifying a custom wrapper element

		$('#example2').divide({
			cols:3,
			wrapper:'span'
		});
	

using a threshold

		$('#example3').divide({
			threshold:5
		});
	

this list is not divided because it did not meet the minimum threshold requirement

specifying a target child element

		$('#nav > li').divide({
			target:'ul'
		});
	

note that the above example could also be achieved by using $('#nav > li ul') as the selector. the target option is simply for versatility.