Splitting lists into two divs on one page

3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 26, 2013   (RSS)

By JeffC - March 26, 2013

I would like to display 6 records per page from the same table, but split the results across 2 divs. ie

Records 1-3 to be displayed in <div id="1">
Records 4-6 to be displayed in <div id="2">

I would like this to work with prev and next page links so that when a user goes forward/back the records are increased/decreased by a factor of 6 so that:

Page 2:
Records 7-9 to be displayed in <div id="1">
Records 10-12 to be displayed in <div id="2">

Page 3:
Records 13-15 to be displayed in <div id="1">
Records 16-19 to be displayed in <div id="2">

Any help hugely appreciated!

Jeff

By JeffC - March 26, 2013

Thanks Greg

That does exactly what I need it to do.

Jeff