在 jQuery 中连续滚动包含图像的水平滚动条?
我想做这样的事情:http://javascript.about.com/library/blcmarquee1。 htm
然而,我引用的脚本似乎有点滞后(过时?),所以我想知道是否有人知道更好的解决方案。 (欢迎使用 jQuery 解决方案。)
I would like to do something like this: http://javascript.about.com/library/blcmarquee1.htm
The script I referenced however seems to be a bit laggy (outdated?), so I was wondering if anyone knew of a better solution. (jQuery solutions welcome.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
刚刚发现这个 - jQuery 驱动的,并且有图像。我打算将它用于当前的项目。
http://logicbox.net/jquery/simplyscroll/
更新:我现在已在生产中使用它代码。该插件能够非常流畅地循环 70+ 150×65px 图像 - 我尝试过的其他一些与此类似的插件都失败了。
注意,它在 IE 6 / 7 中因
z-index
问题而造成严重破坏,并且没有显示出来等。 - 但这也可能部分归因于我的 CSS。对于在 IE 中根本无法显示该问题的任何人,请查看标准 IEz-index
修复:http://www.google.com/search?q=ie+z+index+issues最新更新:
实现此类插件时还需要考虑以下事项:
我现在也发现这两个滚动器插件也非常好。
http://caroufredsel.frebsite.nl/
http://sorgalla.com/jcarousel/
Just found this — jQuery-driven, and has images. I’m intending to use it for a current project.
http://logicbox.net/jquery/simplyscroll/
UPDATE: I have now used this in production code. The plugin is capable of looping 70+ 150×65px images pretty smoothly - which a number of another plugin I tried similar to this were failing on.
NOTE it reeked havoc with
z-index
issues in IE 6 / 7 and was not showing up etc. - But this might also have been partly due to my CSS. To anyone having trouble with it not showing up at all in IE check out the standard IEz-index
fixes: http://www.google.com/search?q=ie+z+index+issuesLATEST UPDATE:
Addition things to consider when implementing plug-ins like these:
I have now also found these two scroller plugins to be very good as well.
http://caroufredsel.frebsite.nl/
http://sorgalla.com/jcarousel/
丝滑 jQuery Marquee 和 Giva Labs 的字幕
The Silky-Smooth jQuery Marquee and Giva Labs' Marquee
只是一个想法。你能做这样的事情吗?
和html
Just a thought. Could you do something like this.
and the html