jquery.range实现滑动选取数值范围效果代码
代码语言:html
所属分类:表单美化
代码描述:jquery.range实现滑动选取数值范围效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <style type="text/css"> .demo { width: 350px; margin: 100px auto 10px auto } #g1,#g2 { margin-top: 50px } </style> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/jquery.range.css"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.range.js"></script> <script type="text/javascript"> $(function() { $('.single-slider').jRange({ from: 0, to: 100, step: 1, scale: [0, 25, 50, 75, 100], format: '%s', width: 300, showLabels: true, showScale: true .........完整代码请登录后点击上方下载按钮下载查看
网友评论0