$('.story_bunner ul li').mouseover(function(){ var _img = $(this).find('img'); var _index = $(this).index()+1;
//遍历还原图片 $('.story_bunner ul li').each(function(index){ $(this).find('img').attr('src', '__PUBLIC__/images/' + (index+1) + '.png'); })
//当前图片显示为指定图片 _img.attr('src','__PUBLIC__/images/'+_index+'-ed.png'); })