... , jsfiddle - . , . fadeOuts . . , - , , .
here is a little variation on your jsfiddle ..
$(function(){
$('#image_two,#image_three').hide();
$('.icon_one').click(function(){
$('#image_two:visible,#image_three:visible').fadeOut(
function(){
$('#image_one').fadeIn();
}
);
});
alert("binding");
$('.icon_two').click(function(){
$('#image_one:visible,#image_three:visible').fadeOut(
function(){
$('#image_two').fadeIn();
}
);
});
$('.icon_three').click(function(){
$('#image_one:visible,#image_two:visible').fadeOut(function(){
$('#image_three').fadeIn();
});
});
});
ek_ny source
share