위쪽 버퍼 드롭다운 메뉴 탐색 효과 JS 코드

1018 단어
 
  
<br>            $(function() { <br>                var d=300; <br>                $('#navigation a').each(function(){ <br>                    $(this).stop().animate({ <br>                        'marginTop':'-80px' <br>                    },d+=150); <br>                }); <p></p> <p>                $('#navigation > li').hover(<br>                function () {<br>                    $('a',$(this)).stop().animate({<br>                        'marginTop':'-2px'<br>                    },200);<br>                },<br>                function () {<br>                    $('a',$(this)).stop().animate({<br>                        'marginTop':'-80px'<br>                    },200);<br>                }<br>            );<br>            });<br>       

좋은 웹페이지 즐겨찾기