Hello,
I have a question about the click event. I have now a hover event, if I hover about the thumbnail you see the big photo.
I want to change this to a click event. So hover to click event.
If I change the hover to click it is not working.
Can someone explain this? Can someone help me?
Thanks in advance
My code is:
$("a.first").hover(function() {
var src = $('img', this).attr('src').replace(/thumbnails\//, '');
$('div.description').html('<img src="images/image.JPG" width="500"/> ');
}, function() {
$('div.description').empty();
});