First use this code for bottommost 4 images (Design options) and tell is it alerting properly the name of items ?
And hover on 4 bottommost images
function myFunction() {
var $large = jQuery('#largeImage');
//store the default image as the data src
//$large.data('src', $large.attr('src'));
var src = jQuery('#largeImage').attr('src');
jQuery('#thumbs img').hover(function () {
$large.attr('src', jQuery(this).attr('src').replace('thumb', 'large'));
var altText =jQuery(this).attr("alt");
//alert(jQuery(this).parent().text());
var existsClass=$large.parent().children().hasClass("prodName");
//alert(existsClass);
if(existsClass)
//$large.parent().children().remove(".prodName");
$large.parent().find("div").remove();
$large.parent().append('<div class="prodName" style="margin-left:220px">'+jQuery(this).parent().text()+'<br/>'+altText+'</div>');
}, function () {
//on mouse leave put back the original value
$large.attr('src', $large.data('src'));
});
}
jQuery(document).ready(function () {
jQuery(myFunction);
});
Check this NEW code