I need to get this code to work so when the item is clicked the mouseout doesn't fade out the element.
$('.link1').hover(function(){
$('#image1').fadeIn();
},function(){
$('#image1').fadeOut();
}).click(function(){
$('#image1').css('display','block');
});
Thanks in advance.