Pete R Raleigh commented on May 20, 2013

Re: Dynamically altering the style of content generated by a WCM Menu Component

An easier method would be to use jQuery and one line of code:

$(document).ready(function() { $("#container div:nth-child(2n)").attr("class", "on"); });

Full example here: http://www.lwwcm.com/sandbox/jquery/altrows.htm

Kevin DeKorte commented on Oct 17, 2012

Re: Dynamically altering the style of content generated by a WCM Menu Component

Unable to get the HTML and javascript to display properly. The code tag did not appear to work for me.