jQuery时间轴滑块 [英] jQuery Timeline Slider

查看:72
本文介绍了jQuery时间轴滑块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您会推荐一个不错的,干净的基于jQuery的时间轴滑块吗?

我需要简单易用的滑块.

在纯CSS中这样做容易吗? 使用溢出?

解决方案

您可以使用2种可能的库.

  1. jQuery工具-可滚动
  2. jQuery UI-滑块

它们都是可定制的(这是一个好主意),因此您必须编写一些脚本才能达到所需的目的.看看是否是您想要的.两者都有很好解释的文档,因此很容易学习.

我建议您使用这两种方法之一,而不要尝试仅使用CSS来做到这一点.他们的代码已经可以使用,因此您不必担心一些琐碎而无聊的事情,例如 slider算法跨浏览器支持等等

Is there a nice, clean jQuery based timeline slider that you would reccomend?

I need simple, easy to use slider.

Would it be easy to do this in pure CSS? Using Overflow?

解决方案

There are 2 possible libraries you could use.

  1. jQuery Tools - Scrollable
  2. jQuery UI - Slider

Both of them are customizable (and that is a good point) so that you have to script a little bit to reach what you're looking for. Have a look to see if it's what you want. Both have a very well explained documentation so it's easy to learn.

I suggest you use one of these two rather than trying to do this using CSS-only. Their codes are ready-to-use so you don't have to worry about little and boring things, like the slider algorithm, cross-browser support and so on

这篇关于jQuery时间轴滑块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆