Skip to content

Instantly share code, notes, and snippets.

$(function() {
var photos = $("div.photo");
$('div.slides a').click(function() {
var rel = $(this).attr('rel');
photos.fadeOut(800,function() {
$('#'+rel).fadeIn(800);
});
return false;
});
});