Code as we know it. Open source stuff goes here
var particles = $('.particle'); $('li').each(function() { if (!$(this).is(particles)) $(this).css('color','red'); });
var particles = $('.particle'); $('li').not(particles).css('color','red')
No comments:
Post a Comment