有谁知道一个好的 jQuery 内容滑块可以根据内容自动调整包含的 div 的高度?
我正在建立一个网站,并且有一个包含书籍引用的 div。理想情况下,我希望 div 一次显示一个引言,并且可能只是在它们之间淡入淡出。我正在考虑使用类似 jQuery Cycle 插件的东西,并有上一个和下一个箭头。
然而,引号是纯文本的,并且长度不同,因此如果我能让包含 div 的底部根据内容的高度上下滑动,那就太好了。
任何想法都会很棒。我确信我以前见过这种事情,但现在似乎找不到类似的东西。我见过的最接近的是 coda slider 2,但我并不真正需要这些选项卡。
任何建议都会很棒! :o)
I am building a website and have a div containing quotes from books. I would ideally like the div to show one quote at a time and probably just fade in and out between them. I was thinking of using something like the jQuery Cycle plugin and having prev and next arrows.
The quotes however are purely textual and are of various lengths, therefore it would be nice if I could perhaps get the bottom of the containing div to slide up and down depending on the height of the content within.
Any ideas would be great. I'm sure I've seen this kind of thing about before, but just can't seem to find anything that similar just now. The closest I have seen is coda slider 2, but I don't really need the tabs.
Any advice would be great! :o)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里有一些不错的:
Quovolver(也许是最好的,循环并调整大小)
jQuery 引用旋转器插件(据我所知,不会调整大小)
随机内容生成器(不刷新就不会旋转)
祝你好运!
Here are some nice ones:
Quovolver (Maybe the best one, cycles and adjusts size)
jQuery Quote Rotator Plugin (Doesn't adjust size as far as I know)
Random Content Generator (Doen't rotate without refresh)
Good luck!