您现在的位置是:首页 > 前端 > jquery网站首页jquery

jq简单的鼠标移入移出样式变化

简介$().ready(function() { $(".imgxioa li").mouseover( function() { $(this).find("a").eq(1).css("background
$().ready(function() {
    $(".imgxioa li").mouseover( function() {
        $(this).find("a").eq(1).css("background-color","#ff0000");
    }).mouseout( function(){
        $(this).find("a").eq(1).css("background-color","#045FBA");
    });
});

下一篇:jquery选择器

文章评论

Top