使用类似于带有 localscroll 的导航的幻灯片
您如何创建以下内容?
几乎在每张幻灯片上,都有一个上一个和下一个箭头以及一堆点,指示您正在查看的“幻灯片”。我想将其用于整个网站。我将scrollTo-1.4.2与localscroll-1.2.7一起使用,因此用户可以滚动到一堆div。
我希望能够像菜单一样使用点和后退/下一步按钮。有谁知道如何创建它,或者我应该从哪里开始创建它?
谢谢! (如果您需要我发布我正在使用的 html、js 或 css,请告诉我,我会的)
How do you create the following?
On virtually every slideshow you have a previous and next arrow and a bunch of dot's indicating what "slide" you're viewing. I'd like to use this for an entire site. I'm using scrollTo-1.4.2 with localscroll-1.2.7, so it's a bunch of div's the user can scroll to.
I'd like to be able to have the dot's and back/next buttons to use like a menu. Does anyone know how to create this, or where I should start to create this?
Thanks!
(If you need me to post the html, js or css I'm using, tell me and I will)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
制作轮播。 一如既往,我建议使用 jQuery 循环插件。它有很多选项可以真正定制它的功能。
如果您需要有关详细信息的帮助,请在这篇文章中发表评论。
更新: http://jsfiddle.net/morrison/QhvCU/embedded /结果/
Make a carousel. As always, I recommend using the jQuery cycle plug-in. It has lots of options to really customize what it can do.
Link the hash to the carousel. When the page loads, you grab the hash and tell cycle that you want to start on that page.
If you need some help with the details, comment on this post.
Update: http://jsfiddle.net/morrison/QhvCU/embedded/result/