主题:求左右滚动文字如何用JS来实现
我想让下面的这几段文字从右到左反复间歇滚动,而且点“上一页”这个链接返回到前面一段文字,点“下一页”的链接到下面一段文字
<div class="center_gz_box" id="center_gz_box">
<a href="#" id="RollFront" class="center_gzfront" title="上一页"></a>
<a href="#" id="RollNext" class="center_gznext" title="下一页"></a>
<div class="center_gz_text" id="center_gz_text">
<ul id="center_gz">
<li><a href="#"><strong>aaa</strong>1111</a></li>
<li><a href="#"><strong>bbb</strong>2222</a></li>
<li><a href="#"><strong>ccc</strong>3333</a></li>
<li><a href="#"><strong>ddd</strong>4444</a></li>
<li><a href="#"><strong>eee</strong>5555</a></li>
<li><a href="#"><strong>fff</strong>6666</a></li>
</ul>
</div>
</div>
<div class="center_gz_box" id="center_gz_box">
<a href="#" id="RollFront" class="center_gzfront" title="上一页"></a>
<a href="#" id="RollNext" class="center_gznext" title="下一页"></a>
<div class="center_gz_text" id="center_gz_text">
<ul id="center_gz">
<li><a href="#"><strong>aaa</strong>1111</a></li>
<li><a href="#"><strong>bbb</strong>2222</a></li>
<li><a href="#"><strong>ccc</strong>3333</a></li>
<li><a href="#"><strong>ddd</strong>4444</a></li>
<li><a href="#"><strong>eee</strong>5555</a></li>
<li><a href="#"><strong>fff</strong>6666</a></li>
</ul>
</div>
</div>