PHP技术,网站开发,PHP,PHP学习,Python学习,PHP开发,人工智能,大数据服务

PHP » 前端设计 » jquery鼠标放上更改背景色

jquery鼠标放上更改背景色

此文被围观2237日期: 2014-02-01 分类 : 前端设计  标签:  ···
$(".app a").bind({
                        mouseenter:function(){
                                $(this).children("img").animate({filter:'alpha(opacity=50)',opacity:'0.5'});
                                $(this).children("b").fadeIn();
                                },  
                        mouseleave:function(){
                                $(this).children("img").animate({filter:'alpha(opacity=100)',opacity:'1'});
                                $(this).children("b").fadeOut();
                                }
        });

© Copyright 2011-2019 www.adophper.com. All Rights Reserved.
读图网科技 版权所有。蜀ICP备12031064号-1