var erp_scene_img_container = $('.erp_scene_img_container')
$.each(erp_scene_img_container, function (e, obj) {
$(this).mouseover(function () {
$(this).find('.img_bottom1').css({
'top': '250px',
'left': '-12px',
'transition': '1s'
})
$(this).find('.img_bottom2').css({
'top': '60px',
'right': '36px',
'transition': '1s'
})
})
$(this).mouseout(function () {
$(this).find('.img_bottom1').css({
'top': '288px',
'left': '10px'
})
$(this).find('.img_bottom2').css({
'top': '0px',
'right': '87px'
})
})
})
js jq 鼠标移入移出hover事件
最新推荐文章于 2024-04-30 16:57:21 发布