I have a some problems with my JQ Code.
Default I must show only 4 elements from my UL list. But if I click on "Show more" element I must display +4 more (+4) elements from UL list.
Anybody know how I can do this?
Sorry for my bad English :(
This is my code:
$(document).ready(function() {
$('ul#Galeria > li:gt(3)').css( "display", "none" );
$( ".readmore > a" ).click(function() {
$("ul#Galeria > li:gt(3)").fadeIn("slow").show();
$(".readmore").css('display', 'none');
return false;
});
});