PHP速学视频免费教程(入门到精通)
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
在我们的页面中经常会用到mouseover与mouseout事件来给页面添加更好的渲染效果,但如果触发mouseover事件的元素有子元素的话,会造成闪烁的效果,看着很不舒服,这是因为mouseover与mouseout不论鼠标指针穿过被选元素或其子元素,都会触发。而mouseenter与mouseleave只有在鼠标指针穿过被选元素时,才会触发 mouseenter 事件。
study
//1 $(".con-ul").on({ mouseenter: function() { $(this).find(".dask").stop(true,true).fadeIn(600); $(this).find(".input").stop(true,true).fadeIn(600); }, mouseleave: function() { $(this).find(".dask").stop(true,true).fadeOut(300); $(this).find(".input").stop(true,true).fadeOut(300); } }, ".con-oneimg"); //2 $(".con-ul").on({ mouseover: function() { $(this).find(".dask").stop(true,true).fadeIn(600); $(this).find(".input").stop(true,true).fadeIn(600); }, mouseout: function() { $(this).find(".dask").stop(true,true).fadeOut(300); $(this).find(".input").stop(true,true).fadeOut(300); } }, ".con-oneimg");
已抢6768个
抢已抢91265个
抢已抢14359个
抢已抢50498个
抢已抢190043个
抢已抢86161个
抢