2013-06-12 35 views
0

enter image description here座事件

DIV 1具有mouseover事件示出DIV 2和具有mouseleave事件隱藏DIV 2,當DIV 2表明,如何可以阻止DIV 1事件當我的指針結束DIV 2mouseleave事件現在讓我閃爍](DIV 2最大z-index比DIV 1)

+6

發表的jsfiddle好嗎? – lifetimes

回答

0

有U期待着什麼這樣JSFIDDLE

的Jquery:

$(document).ready(function(){ 
    $(".red").mouseenter(function(){ 
    $(".yellow").show("slow"); 
    }); 
    $(".red").mouseleave(function(){ 
    $(".yellow").hide("slow"); 
    }); 
});