$("img.tianjiapic").live({
mouseenter:
function(){
$(this).attr("src","image/tianjiaonhover.png");
},
mouseleave:
function(){
$(this).attr("src","image/tianjia.gif");
}
}
);
}
or
function ie6lihover(){
$("#ul_c li").hover(
function(){
if($(this).attr("class") != "visting"){
var abv = $("#ab").val();
if(abv == '1013')
$(this).css("background-color","#4bdda4");
else if(abv == '1016')
$(this).css("background-color","#9DDEF2");
else $(this).css("background-color","#E99211");
}
},
function(){
if($(this).attr("class") != "visting"){
var abv = $("#ab").val();
if(abv == '1013')
$(this).css("background-color","#FFFFFF");
else if(abv == '1016')
$(this).css("background-color","#E0EFF6");
else $(this).css("background-color","#FFF9DF");
}
}
);
}