Skip to content Skip to sidebar Skip to footer

JQuery: Show A Div2 When Mousenter Over Div1 Is Over

I have a shopbasket, and I want to show a productlist, when I make a mousover over the basket-symbol. But when I leave the basket Logo with the mouse, to move the mouse into the li

Solution 1:

Wrap your blocks into common div so that the #list still visible untill you out from that common div

Try this way

<div id="basket" >
<div style="padding:10px; background-color:#00458b;color:white;position:relative;cursor:pointer; width: 130px;z-index:1000;">Basket</div>
<div id="list" style="padding:10px; background-color:#63a0df;color:white;position:relative; width: 200px; display: none;z-index:1100;" >
</div>

DEMO


Post a Comment for "JQuery: Show A Div2 When Mousenter Over Div1 Is Over"