체크 아웃 [이 바이올린] Using fade in/fade out with jquery 행 (http://jsfiddle.net/Xm2Be/13/) . 그것은 당신이 무엇을해야한다
...
html로 코드 :
<div class="fader">
<img class="something" src="http://placehold.it/300x300/000fff" />
<img class="something" src="http://placehold.it/300x300/fff000" />
</div>
JS :
이
window.onload=function(){
$('.fader').hover(function() {
$(this).find(".something").stop(true, true).fadeToggle();
});
};
CSS :
.fader { display: inline-block; }
.fader img:last-child {
position: absolute;
top: 0;
left: 0;
display: none;
}
가 잊지 마세요 머리에 더하기 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
0 당신은 느린 여기에 '당신이 시도한 여러 가지 방법'.fadeToggle(600);
포스트 안쪽에 번호를 추가하려면? – lifetimes
[내 웹 사이트 또는 프로젝트의 일부가 작동하지 않습니다. 그냥 링크를 붙여 넣을 수 있습니까?] (http://meta.stackexchange.com/questions/125997/something-in-my-web-site-or-project-doesnt-work-can-i-just-paste -a-link-to-it) – Antony
잘 아래에 게시 된 방법을 시도하고 그들은 나를 위해 작동하지 않습니다 – okok