οnmοuseοut="hideFreeProduct()"
οnmοusemοve="showFreeProduct()"
// 显示购买须知
function showFreeProduct(){
var remark="${requestScope.productById.remark}";
$("#question").attr("title",remark);
}
// 隐藏购买须知
function hideFreeProduct(){
$("#question").attr("title","");
}
// 商品评论图片放大缩小
function showLarge(obj){
if ($(obj).attr("title")=="放大") {
$(obj).parents("div").next("div").children("#large").attr("src",$(obj).attr("src"));
$(obj).attr("title","缩小");
$(obj).parents("div").next("div").children("#large").show("normal");
}else {
$(obj).parents("div").next("div").children("#large").attr("src",$(obj).attr("src"));
$(obj).attr("title","放大");
$(obj).parents("div").next("div").children("#large").hide("normal");
}
$(obj).siblings("img").attr("title","放大");
}