Skip to content

Instantly share code, notes, and snippets.

Created Jan 12, 2010
Embed
What would you like to do?
$(function() {
$('div.slides a').click(function() {
var rel = $(this).attr('rel');
$('div.photo').fadeOut(800);
$('div#'+rel).fadeIn(800);
return false;
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment