$(function(){
$(".smallPic img").hover(function(){
$(".smallPic li").css("border", "#a6a6a6 1px solid")
$(".display > .pic > img").attr("src", $(this).attr("src"));
$(this).parent().parent().css("border", "#c2242b 2px solid");
});
}),你代码太乱了,没法看,你参考下 我的吧 原理是一样的
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货