Revision: 13115
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 9, 2009 10:10 by davebowker
Initial Code
var counter; $("#ukn-clusters ul.ukn-component-main li ul").each(function() { counter = 1; $(this).children("li").each(function() { if (counter > 3) $(this).addClass('ukn-cluster-hidden').hide() counter++; }); });
Initial URL
Initial Description
Initial Title
jQuery loop and hide on child elements of multiple parents
Initial Tags
jquery
Initial Language
JavaScript