View Single Post
  #2 (permalink)  
Old January 17th, 2005, 03:46 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Take a look at this tutorial:

http://www.macromedia.com/support/ul...ernate_colors/

It shows you the basic idea behind irregular repeated regions. I think it's easiest to create a standard repeated region, and then add some code to tweak it so it repeats three items on a row.
What you need to use is the Mod operator, to count the number of records you have already display.

What language are you building this in?

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.