English 中文(简体)
jquery sliding menu opening/clos animations issue
原标题:jquery sliding menu opening/closing animations issue

I m testing this on local : http://jsfiddle.net/fYkMk/1/ This is a booking form that opens up on mouse over (booking-mask) and closes when mouse leaves it. It has 4 fields :

  • datepicker
  • number of guests
  • number rooms
  • number of nights

最后三个领域是平滑的菜单,在相对的icon上点击。

These sliding animations work until The user decide to "mouseover" then "mouseleave" and "mouseover" again over the booking-mask div before the oprning/closing animations are finished yet.

因此,名单被打破,我只能看到其中一部分。 [见下图]

“entergraph

Hope you can help me out with this. Thanks

Luca

最佳回答

j mate mate mate visibility visibility visibility visibility 例如:

 $( .booking-mask ).mouseenter(function(){
                mouseOverBooking = true;
                $(this).css( overflow ,  visible );
                openBookingMask();
                });

正义

$(this).css( overflow ,  visible );

更顺利地工作。

rel=“nofollow”>updated fiddle

问题回答

我可以真正看到你的例子中的这三个纽州,但是,在你的法典中尝试使用<条码>。 还有qeue()和.deqeue()的职能可能有助于你,领导到格库里,阅读文件,或者看看看看有人说什么话。

如果我正确理解这一点,倒塌的菜单就在主点/后方点背后消失,而实际上对我来说,像问题一样多得多,可能与隐蔽的过度流通有关。

.choose-list li{overflow: visible; z-index: 9999;}

.choose-list li:hover{
    background:#8B753B;
    color:white;
    overflow: visible;
}

这是否确定了它?

EDIT:利用我手提的手提电脑和窗口与FF I看你所说的话;-

在我看来,问题似乎在于:将大量流出的手法,可能是 j洞的,也可以是你在 c子里做的,但给我添加了重要的fix,就像:

.booking-mask{
    background: red;
    height: 58px;
    margin: 44px 0 0;
    position: fixed;
    right:0;
    top: 0;
    z-index: 3;
    overflow:visible!important;
    /*padding:0;*/
    color:white;
}




相关问题
PHP Combo Box AJAX Refresh

I have a PHP page that currently has 4 years of team positions in columns on the page. The client wants to select the players in positions and have first, second and thrid choices. Currently the page ...

jquery + ajax + json + fill dropdown list not working

I m pretty sure i am almost there....but i cannot figure out how to iterate through json objects and fill a dropdown list. Here is the js code: My JSON data returned:{"name":"County1","name":"County1"...

Gridviews and DropdownLists

Is it possible to change the data source of a dropdown list in a gridview from another dropdown list selected index changed method in the same gridview? for example I have a dropdown that needs to ...

Adding a new value to the drop down list box

I have a drop down list box which has one of the values to be others. I want to move these value to the last. Please help me with this. The code i am using is as follows ddlAssetsCountryOthersone....

Show hide div using codebehind

I have a DropDownList for which I am trying to show a div OnSelectedIndexChanged but it says OBJECT REQUIRED. I am binding the DataList in that div: aspx: <asp:DropDownList runat="server" ID="...

Why might dropdownlist.SelectedIndex = value fail?

I have a dropdown list that I am binding to a datatable. Here is the code I am using to do it: ddlBuildAddr.DataSource = buildings ddlBuildAddr.DataTextField = "buildingName" ddlBuildAddr....

热门标签