Is there a way to control how many items to show per row?

Jun 27, 2011 at 10:30 PM
Edited Jun 27, 2011 at 10:32 PM

As of right now, it appears that this is controlled by the width of both the <li> div and the #list width (on a 2D grid, of course). Can you give me an idea how to control this on the code? 

Coordinator
Jul 17, 2011 at 5:16 AM

Sorry for the delay in responding. Is something like this what you are after?

var itemsPerRow = 4;
var itemWidth = $("#list li").outerWidth();
$("#list").width(itemsPerRow * itemWidth);