Aternating row content

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 14, 2015   (RSS)

By terryally - October 14, 2015

Hi,

I want to generate content for alternating rows with each odd row having a different layout to even rows. Is there a short cut to achieving this in CMSB 2.14? viz:

Row 1:

  • Col1 = text
  • Col2 = image

Row 2

  • Col 1 = image
  • Col 2 = text

And this sequence carries on to the end.

Attached is a visual of what I want to achieve

Thanks

Terry

Attachments:

altrowscontent.docx 12K

By terryally - October 14, 2015

Hi Damon,

Many thanks for your swift response and excellent code which worked perfectly without the htmlencode().

Thanks again

Terry