Enero
Febrero
Marzo
Abril
Texto
Prev
$(".photoContain img").on("click",function(){
var thumbPlace = $(this).index();
var thumbClass = $(this).parent().attr("data-show");
var selectGalery = $("#bigPicture").children("." + thumbClass);
var selectedImg = $(selectGalery).children().eq(thumbPlace);
var photoSlide = $("#showPhotos .pic").eq(0);
$(selectedImg).clone().appendTo(photoSlide);
});
$(".button.nextS").on("click",function(){
var bigbro = $("#showPhotos .pic.topImg");
var lilbro = $("#showPhotos .pic.bottomImg");
var picAlt = $("#showPhotos .pic img").attr("alt");
var nextPic = $("#bigPicture .bigContain img[alt='"+picAlt+"']").next();
var borrar = $("#showPhotos .pic:first-child");
lilbro.css("right","900px").removeClass("bottomImg").addClass("topImg").empty().append(nextPic);
lilbro.animate({
right:"0px"},{
duration:1000,
complete:function(){
bigbro.removeClass("topImg","current").addClass("bottomImg");
}
})
});
});