English 中文(简体)
在用户变数超过另一个要素之前采用留级状态
原标题:Keep hover state applied until user mouses over another element

首先,我要说,我是一滴杂草灯,因此,这可能不会产生很多意义。

因此,我有一系列清单项目,如果用户对项目内的一个环节(而不是整个清单项目本身)有改动,则这些物品可扩展至在内部显示隐藏的散射。

问题是,如果用户改变使用,则电离线再次关闭。

I need this to work in a way so that the li only closes if you mouse over a link in another li. (sorry this is kind of hard to put into words)

这里我的准则。

$(document).ready(function(){
                $(".home_upcoming_title").hoverIntent({
                over: makeTall, 
                timeout: 500, 
                out: makeShort

        });
    }); // close document.ready

    function makeTall(){$(this).parents("li").animate({"height":200},200);}
    function makeShort(){$(this).parents("li").animate({"height":32},200);}

页: 1

    <li class="p1">

            <ul class="home_upcoming_list2" id="fade">
            <li class="home_upcoming_date">Sat.Sept.23rd.2010</li>
            <li><a href="./." class="home_upcoming_title" >Event Title</a></li>
            <li class="home_upcoming_city">Los Angeles</li>
            <li class="home_upcoming_type">Festival</li>
            <li class="home_upcoming_venue">Venue</li>
            <li class="home_upcoming_age">18+</li>
            <li><a href="./." title="Buy Tickets" class="home_upcoming_tix">Buy Tickets</a></li>
            <li><a href="./." class="upcoming_info" title="View Details"></a></li>
            </ul>

        <div style="height:150px; background-color:#FF0000; display:block;" class="sl0w"></div>
        </li>

因此,与“家庭——资格”这一类的联系扩大了利面,以显示内部的四分之四,但当我对四分五舍五入时,名单就关闭了。 我也只需要“家庭——未来——所有权”这一类扩大,但需要保持开放,直到你与同一类别有另一个联系。

ry 如果真如此,那么:

问题回答

具有以下功能:closeTips,其中电话:makeShort on all the tooltips, 然后使用.mouseover(),而不是.hoverIntent() 运行Tips,然后打电话makeTall

我看到你正在使用冲积层金,而AF金的gin子没有你打算做什么,也许你们需要改变原始基数法,以完成你想要的东西。 或试图利用本地活动mouseover做你想要做的事情,但需要与你方进行更多的编码。





相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签