خرید بک لینک

Vote count: 0

I am looking at using the following:

http://jsfiddle.net/webdevem/4RgTS/

But I need a way of making sure the div that appears to stay open if you hover over the div that appears.

Here is the code:

$(document).ready(function() {
    $("#toggleSwitch_j").hover(

    function() {
        $("#theBox_3").slideDown(500);
    }, function() {
        $("#theBox_3").slideUp(500);
    });


    $("#StayOpen").hover(
    function() {
        $("#theBox_2").slideDown(500);
    }, function() {
        $("#theBox_2").slideUp(500);
    });
});


<a href="#" id="toggleSwitch_j">jQuery Hover</a><div id="theBox_3">Peek-a-boo!</div>

#theBox_3, #theBox_2{
    display: none; 
    border: 1px solid #000;
    width: 200px;
    height: 100px;
    background-color: #ddf;
    position: absolute;
}
#toggleSwitch_j, #StayOpen {
 b

ackground-color: #cacaca;            
}

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 17 فروردين 1395 ساعت: 18:45

صفحه بندی