2014-11-11 3 views
-1

아래에서 위로 움직여야하는 텍스트 스크롤러가 필요하고 마우스 오버하면 멈추어야합니다. 주요 요구 사항은 IE7과 IE8에서 작동해야합니다. Pls는Jquery text scroller 아래에서 위로

<script type="text/javascript"> 
$(window).load(function() { 
$("#s2").endlessScroll({ 
width: '700px', // Desired div's width. 
height: '26px', // Desired div's height. 
steps: -2, // pixel step for the <a href="http://www.jqueryscript.net/tags.php?/Scroll/">scrolling</a>, also controls the direction, a negatif value (left), a positive value (right). 
speed: 40, // animation speed, from 0 (quicker) to infinite (slower). 
mousestop: false }); //if set to true the scrolling stops when the mouse is over the div. 
}); 
</script> 

답변

0

http://www.jqueryscript.net/animation/jQuery-Endless-Div-Scroll-Plugin.html 어쩌면 당신은 어쩌면 자세한 내용과 지금까지 한 일의 코드 조각을 제공해야이 URL을 찾을 수 있습니다. 나는 전에 어떤 천막과 함께 이것을 할 수 있었다.

마우스
<marquee behavior="slide" direction="left">Your slide-in text goes here</marquee> 

는 이상

+0

위의 URL을 찾아주십시오 "중지"하도록 지시하고 난 방법에 대한 "endlessScroll"API를 사용한 적이 하단 –

+0

처음부터 그 텍스트 스크롤을 사용자 정의 할 필요가 ...하지만 모세 오버에 기능을 등록하고 단계를 '-2'대신 '2'로 변경하십시오. –