다음 마크 업이 있습니다. 페이드 인 및 페이드 아웃 애니메이션 제어
<ul id="ticker">
<li><q> Education, then, beyond all other devices of human origin, is the great equalizer of the conditions of men, the balance-wheel of the social machinery </q><cite>Horace Mann</cite></li>
<li><q> The roots of education are bitter, but the fruit is sweet </q><cite>Aristotle</cite></li>
<li><q> Education is what remains after one has forgotten everything he learned in school </q><cite>Albert Einstein</cite></li>
<li><q> Education is the most powerful weapon which you can use to change the world </q><cite>Nelson Mandela</cite></li>
<li><q> Formal education will make you a living; self-education will make you a fortune </q><cite>Jim Rohn</cite></li>
</ul>
다음 스크립트
<script>
function tick()
{
$('#ticker li:first').animate({'opacity':0}, 2000, function() { $(this).appendTo($('#ticker')).css('opacity', 1); });
}
setInterval(function(){ tick() }, 8000);
</script>
문제는 텍스트가 잘 페이드 아웃 그러나 플래시를 다시 나타날 것입니다. 어떤 방법으로도 페이드 인을 부드럽게 할 수 있습니다.
나는 이미 당신이 마음에 두는 스타일링을 가지고 있다고 확신한다. 그래서 이것은 내 개인적인 즐거움을 위해 더 많은 것이었지만, 한 번 봐야한다. http://jsfiddle.net/ffe6q/5/ – Shmiddty
정말 멋지다. 고맙습니다 – Jawad