I'm using this photo gallery with this:
$('.normsize img:gt(0)').hide();
$('.photos a').click(function(){
var index = $('.photos a').index(this);
$('.normsize img:visible').hide();
$('.normsize img:eq('+index+')').fadeIn();
});
with thumbnails in a div and the normal size pics next to it.
My question is: How would I bind the next and previous buttons . Its probably simpler than what I m using already.
Edit: Fixed code output.