jQuery时间轴滑块

编程入门 行业动态 更新时间:2024-10-28 17:29:41
本文介绍了jQuery时间轴滑块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

我需要简单易用的滑块.

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

解决方案

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

  • jQuery工具-可滚动
  • 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.

  • jQuery Tools - Scrollable
  • 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时间轴滑块

    本文发布于:2023-11-22 09:32:41,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1616900.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:滑块   时间   jQuery

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!