私はこのhtmlを持っています
<ul class="accordion" id="accordion">
                <li class="bg4">
                    <div class="heading">fdgfdg</div>
                    <div class="bgDescription"></div>
                    <div class="description">
                        <h2>fdgdf</h2>
                        <p>dfgdfg</p>
                        <a href="#">fdgdfg→</a>
                    </div>
                </li>
                <li class="bg5 bleft">
                    <div class="heading">מגדל מטלון</div>
                    <div class="bgDescription"></div>
                    <div class="description">
                        <h2>ffg</h2>
                        <p></p>
                        <a href="#">more →</a>
                    </div>
                </li>
            </ul>
そして、私はこのコードを持っています
 $(function () {
                $('#accordion > li').hover(
                    function () {
                        var $this = $(this);
                        $this.stop().animate({ 'width': '480px' }, 500);
                        $('.heading', $this).stop(true, true).fadeOut();
                        $('.bgDescription', $this).stop(true, true).slideDown(500);
                        $('.description', $this).stop(true, true).fadeIn();
                    },
                    function () {
                            var $this = $(this);
                            $this.stop().animate({ 'width': '122px' }, 500);
                            $('.heading', $this).stop(true, true).fadeIn();
                            $('.description', $this).stop(true, true).fadeOut(500);
                            $('.bgDescription', $this).stop(true, true).slideUp(700);
                    }
                );
                    });
現在、いずれかの幅にカーソルを合わせると幅が拡大します(ホバーを<li>外すと縮小します)
ホバー解除コードが<li>他のものにホバーした場合にのみ実行されli、コンテナー ( <ul>) がフォーカスを失った場合、ホバー解除コードを実行せずに同じサイズのままになる方法はありますか?