I\'m trying to make a pattern in a layout (see attachment for visualisation) The problem is that using :odd :even doesnt work.
I\'ve tried to make it work by using \
another way to do it would be [not proofed for function but demonstrates the logic]:
$('div').click(function(e){ $tester=$(this).children('div.Other').size(); for(var $j=0;$j<$tester;$j=$j+1){ if($j%2==0){ $(this).children().eq($j).css(...); }else{ $(this).children().eq($j).css(...); } } });