Why don't you just do it like:
$('#prev').css('cursor','pointer').click(function(){
$('.page:visible').hide().prev().show();
}
Same with next.
$('#next').css('cursor','pointer').click(function(){
$('.page:visible').hide().next().show();
}
You will pro
On Feb 26, 5:43 pm, Doug C
Sorry I think it has to be:
$('.page:visible').hide().prev('.page').show();
and
$('.page:visible').hide().next('.page').show();
Or is the second class selection not necessary?
On Feb 26, 8:33 pm, Frederik Ring frederik.r...@gmail.com wrote:
Why don't you just do it like:
Thanks man. I'll give it a shot and let you know.
On Feb 26, 2:36 pm, Frederik Ring frederik.r...@gmail.com wrote:
Sorry I think it has to be:
$('.page:visible').hide().prev('.page').show();
and
$('.page:visible').hide().next('.page').show();
Or is the second class selection not
3 matches
Mail list logo