Is there a solution for alternating rows (odd/even) in Wayfinder for MODx Revolution? I know, that it is implemented in 2.5 beta for Evolution.
Maybe with a wrapper snippet or something?
-
MODX Staff
- 730 Posts
Would striping the output on the client (e.g. with jQuery) be an option?
Unfortunately this is not an option, as its part of the main navigation. CSS :nth-child does not work either because of effing IE.
-
☆ A M B ☆
- 80 Posts
In some instances, you can replace Wayfinder with getResources. Get resources is lighter than Ditto and makes it easy to work with alternating rows.
Time is what keeps everything from happening all at once.