var obj = $("ul");
obj.each(function(i) {
var items = $("li", obj);
items.each(function(i) {
if(i < 3) {
items.eq(i).show();
} else {
items.eq(i).hide();
}
});
});
On Sat, Jan 16, 2010 at 12:16 PM, alexander wrote:
> Hello everyone,
> I've spent 2 hours with this already and I think I
Hello everyone,
I've spent 2 hours with this already and I think I must be dumb or
blind since I can't find any hint online.
I've got a couple of galleries as a in one page
...
...
..
...
...
..
etc.etc.
For EACH of the s SEPARATELY I need to show only 3 s and hide
the rest .
I tried
2 matches
Mail list logo