如何在html中使用文本滑块 [英] how to use text slider in html
本文介绍了如何在html中使用文本滑块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我的项目要求我想在滑块中显示预定义的用户评论,以便自动显示。
请建议我用一个例子来做这个。
Hello,
I have a requirement in my project to in which i want to display predefined user reviews in slider so that it displays automatically.
please suggest me way to do it with an example.
推荐答案
你可以看看这个 -
超简单-jQuery-ticker-text-slideshow.html [ ^ ]
You can have a look at this-
Super-simple-jQuery-ticker-text-slideshow.html[^]
你可以使用jqueryui
http://api.jqueryui.com/slider/ [ ^ ]
样品
You can use jqueryui
http://api.jqueryui.com/slider/[^]
Sample
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery UI Slider - Default functionality</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script>
(function(){
(function () {
这篇关于如何在html中使用文本滑块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文