you are looking for this:
http://web.enavu.com/demos/3dcarouselwip/
UPDATED in responce to your comment!
DEMO: http://jsbin.com/ejica SOURCE http://jsbin.com/ejica/edit
UPDATED 2 with buttons & lightbox
DEMO: http://jsbin.com/iduyu SOURCE http://jsbin.com/iduyu/edit
$(function() {
$('.carousel').carousel();
});
(function($) {
$.fn.carousel = function() {
// 5 minutes lightweight carousel
// Copyright/Author (c) Luca Filosofi > [email protected]
// License Public
$carousel = $(this);
$carousel.wrap('<div id="carousel_wrapper"></div>');
$carousel.parent().append('<div class="button" id="left"></div>'+
'<div class="button" id="right"></div>');
$('img',this).attr('class', 'inactive');
$('img:eq(1)',this).attr('class', 'left');
$('img:eq(2)',this).attr('class', 'active');
$('img:eq(3)',this).attr('class', 'right');
$carousel.fadeIn(500);
$('.button').live('click', function(e) {
e.preventDefault();
var mode = this.id;
var $button = $('.' + mode );
$button.css({
'z-index' : 9999 ,
'opacity': 0.8
}).animate({
'left': '90px',
'width': '320px',
'top': '0px',
'opacity': 1
}, 500, function() {
//lightbox
$(this).attr({'class':'active','rel':'lightbox'})
.removeAttr('style');
$(this).siblings().removeAttr('rel');
});
$button.prev().css({
'opacity': 0.5
}).animate({
'left': '0px',
'width': '240px',
'top': '30px',
'opacity': 1
}, 400, function() {
$(this).attr('class', 'left').removeAttr('style');
$(this).prevAll().attr('class', 'inactive');
});
$button.next().css({
'opacity': 0.5
}).animate({
'left': '260px',
'width': '240px',
'top': '30px',
'opacity': 1
}, 400, function() {
$(this).attr('class', 'right').removeAttr('style');
$(this).nextAll().attr('class', 'inactive');
});
if (mode == 'left')
$('img:last' , $carousel).prependTo($carousel);
if (mode == 'right')
$('img:first' , $carousel).appendTo($carousel);
});
}
})(jQuery);
NOTE: the script also place a rel="lightbox"
tag inside the top image, since almost the lightboxes use this tag! so change it as you need!