jQuery 左右滚动文本 [英] jQuery scroll text side-to-side
本文介绍了jQuery 左右滚动文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我见过 Giva 实验室的 字幕滚动条 和 SerialScroll 但无法弄清楚如何让它在 div 中左右滚动文本.我猜我需要一些其他类型的扩展.
I've seen Giva labs' marquee scroller and SerialScroll but can't figure out how to get it to scroll text in a div from side to side. My guess is I need some other type of extension.
基本上,我有一个宽度为 100 像素的 div 和跨度为 200 像素的文本,而不是像选框一样一直滚动它,我想将它向左滚动直到它到达末尾,然后将它带回右侧.所以,左右滚动.
Basically, I have a div of width 100px and text that spans 200px and instead of scrolling it all the way through like a marquee, I want to scroll it left until it reaches the end and then bring it back right. So, side-to-side scrolling.
建议?
推荐答案
This page has a marquee scrolling side to side - might be worth checking out.
这篇关于jQuery 左右滚动文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文