Jquery文本滚动条从下到上



想要一个文本滚动条,它应该从下到上移动,鼠标悬停时应该停止。主要要求是它应该在IE7和IE8上工作。请找到此URL

http://www.jqueryscript.net/animation/jQuery-Endless-Div-Scroll-Plugin.html

<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>

也许您应该提供更多细节,也许还应该提供一段迄今为止所做工作的代码。我以前用一些帐篷做过这个。

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

在鼠标悬停时告诉它"停止"

最新更新