jQuery버전 차이 질문

jQuery버전 차이 질문

QA

jQuery버전 차이 질문

답변 2

본문



<div><div>jQuery(document).ready(function($){</div>
<div><span class="Apple-tab-span" style="white-space: pre">	</span>$(li).mouseover(function(){</div>
<div><span class="Apple-tab-span" style="white-space: pre">		</span>$(this).slideDown(500);</div>
<div><span class="Apple-tab-span" style="white-space: pre">	</span>}).mouseleave(function(){</div>
<div><span class="Apple-tab-span" style="white-space: pre">		</span>$(this).slideUp(500);</div>
<div><span class="Apple-tab-span" style="white-space: pre">	</span>});</div>
<div>});</div></div>
<div>
</div>
<div>요놈이 문제 입니다..&nbsp;jQuery1.4.x 이하는 잘 작동하는데 jQuery1.5.x 이상은 이상하네요..&nbsp;<span style="font-size: 10pt; line-height: 1.5">mouseleave가 안먹히네요..</span></div>
<div>해결 방법이 궁금합니다.. 1.11.x 만 쓰고싶은데 얘때메... 1.10.x 랑 1.4.x랑.. 같이 쓰는중...<span style="font-size: 10pt; line-height: 1.5"></span></div>

이 질문에 댓글 쓰기 :

답변 2

$(li).mouseover(function(){
로 작성하신게 맞으신가요?

$("li").mouseover(function(){

로 하시면 될 듯 하십니다 :-)


답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 123,886
© SIRSOFT
현재 페이지 제일 처음으로