首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >divs上的jQuery滑块

divs上的jQuery滑块
EN

Stack Overflow用户
提问于 2011-10-15 23:06:23
回答 2查看 5.9K关注 0票数 2

我正在尝试让jQuery滑块与我的div而不是图像一起工作。有没有办法用滑块控件做到这一点?我有作为li列表构建的滑块控件。有什么建议吗伙计们?

下面是我所拥有的:

代码语言:javascript
复制
<div class="slide-show" id="slide-show">
                <div class="slide-1" id="slide-1">
                    <div>
                        <h1>Connect with fellow food lovers</h1>
                        <p>Share your passion for food with friends, and form an exclusive society with a direct connection to the finest restaurants and cafes.</p>
                        <a href="#"><img src="img/home/home-join-now.png" /></a>
                    </div>
                </div>
                <div class="slide-2" id="slide-2">
                    <div>
                        <h1>Connect with fellow food lovers</h1>
                        <p>Share your passion for food with friends, and form an exclusive society with a direct connection to the finest restaurants and cafes.</p>
                        <a href="#"><img src="img/home/home-join-now.png" /></a>
                    </div>
                </div>
                <div class="slide-3" id="slide-3">
                    <div>
                        <h1>Connect with fellow food lovers</h1>
                        <p>Share your passion for food with friends, and form an exclusive society with a direct connection to the finest restaurants and cafes.</p>
                        <a href="#"><img src="img/home/home-join-now.png" /></a>
                    </div>
                </div>
                <div class="slider-control">
                        <a href="javascript:void(0);">1</a>
                        <a href="javascript:void(0);">2</a>
                        <a href="javascript:void(0);">3</a>
                </div>
            </div>
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2011-10-15 23:12:02

你是说像Content Carousel这样的东西?

票数 1
EN

Stack Overflow用户

发布于 2012-11-20 12:43:41

我最近发现了这个Caroufredsel插件。这是一个中间有fred的旋转木马插件!我在我的生产代码中使用它。看一看这可能会有帮助。它还有一个“机器人”,可以帮助我们配置我们的旋转木马。希望这能对你有所帮助。http://caroufredsel.dev7studios.com/

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7778631

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档