Im making a template for a client to be able to add content through Contribute. Some of the content has tables where the client would need to add a single row at a time. Each row is supposed to have a different background color every other row (alternating such as white gray white gray etc).
Now the template has a repeating region that allows the client to easily add a new row. The problem is being able to make every other row have alternating colors. Whats the best way to go about that?
Right now Im thinking I can A) use JavaScript, which I’d rather not rely on or B) have the repeating table row actually consist of a nested table whose color relies on the editor (the user of contribute selecting the table manually and adding the color themselves) - but thats a mess, not just in the reliance of the user but also just in terms of the source code that results in it.
I dont know if DW and repeating regions have anything that allow for this. If so, I dont know it but would rather use it instead. Otherwise, are there any other solutions?