1.切换图片
$(".tip").hover(
function () {
$(this).attr("src","images/four2.gif");
},
function () {
$(this).attr("src","images/four1.gif");
}
);
2.添加样式
$("#tc").attr("style", "background:url('./images/cj-jj.png') no-repeat;display:block;height:379px;600px;position:relative;");