Focus
Main
Dashboard
2
Dashboard 1
Dashboard 2
Apps
Charts
Flot
Morris
Chartjs
Chartist
Peity
Sparkle
Knob
Calender
Email
Profile
Widget
Features
UI Elements
Typography
Alerts
Button
Dropdown
List Group
Progressbar
Tab
Components
Calendar
Carousel
Weather
Datamap
To do
Scrollable
Sweet Alert
Toastr
Basic Range Slider
Advance Range Slider
Nestable
Bar Rating
jRate
Table
Basic
Datatable Export
Datatable Row Select
Editable
Icons
Themify
Maps
Basic
Vector Map
Form
Basic Form
Extra
Invoice
Basic
Editable
Pages
Login
Register
Forgot password
Documentation
Logout
Recent Notifications
02:34 PM
Mr. John
5 members joined today
02:34 PM
Mariam
likes a photo of you
02:34 PM
Tasnim
Hi Teddy, Just wanted to let you ...
02:34 PM
Mr. John
Hi Teddy, Just wanted to let you ...
See All
2 New Messages
02:34 PM
Michael Qin
Hi Teddy, Just wanted to let you ...
02:34 PM
Mr. John
Hi Teddy, Just wanted to let you ...
02:34 PM
Michael Qin
Hi Teddy, Just wanted to let you ...
02:34 PM
Mr. John
Hi Teddy, Just wanted to let you ...
See All
John
Upgrade Now
30 Days Trail
Profile
Inbox
Setting
Lock Screen
Logout
Hello,
Welcome Here
Dashboard
UC-Range-Slider-Advance
As you see, slider labels are far away outside it's container
1 000 000
2 000 000
1 000 000
2 000 000
1 000 000 — 2 000 000
1 000 000
1 250 000
1 500 000
1 750 000
2 000 000
But you can fix it with ease if you wish, with force_edges attribute:
1 000 000
2 000 000
1 000 000
2 000 000
1 000 000 — 2 000 000
1 000 000
1 250 000
1 500 000
1 750 000
2 000 000
Grid will set up automatically, just set grid to true:
0
10 000
0
10 000
0 — 10 000
0
2 500
5 000
7 500
10 000
Want more? Use grid_num:
0
10 000
0
10 000
0 — 10 000
0
1 000
2 000
3 000
4 000
5 000
6 000
7 000
8 000
9 000
10 000
Have predifined step? You can snap grid to it:
0
10 000
0
10 000
0 — 10 000
0
500
1 000
1 500
2 000
2 500
3 000
3 500
4 000
4 500
5 000
5 500
6 000
6 500
7 000
7 500
8 000
8 500
9 000
9 500
10 000
Even if you have a very strange step!
0
10
0
0
0
0
2.34
4.68
7.02
9.36
10
Sometimes you want to forbid dragging one or both handles. Try to move left handle, you can't.
0
100
30
70
30 — 70
You can even lock both handles
0
100
30
70
30 — 70
Sometimes you may want to show user full slider, but restict him from using it for 100%
0
100
0
0
30
You can also highlight this zone:
0
100
0
0
30
One more example with limits:
0
100
20
80
20 — 80
0
10
20
30
40
50
60
70
80
90
100
You can lock your slider, by using disable option:
0
100
0
0
30
After first focus, you can control slider by keyboard (arrow keys and WSAD):
0
100
30
70
30 — 70
Also you can set up keyboard step (in percents):
0
100
30
70
30 — 70
You can use native Date object if you wish, but moment.js is better!
April 6, 2024
April 6, 2025
0
0
October 6, 2024
Example with 12 hours time format
Apr 6th, 09:07 AM
Apr 6th, 09:07 PM
0
0
Apr 6th, 03:07 PM
Example with 24 hours time format and localisation to russian:
6-го апреля, 09:07
6-го апреля, 21:07
0
0
6-го апреля, 15:07
6-го апреля, 09:07
6-го апреля, 12:07
6-го апреля, 15:07
6-го апреля, 18:07
6-го апреля, 21:07
One more example, with localisation to japanese:
6日 4月, 午前9時7分
6日 4月, 午後9時7分
0
0
6日 4月, 午後3時7分
6日 4月, 午前9時7分
6日 4月, 午後12時7分
6日 4月, 午後3時7分
6日 4月, 午後6時7分
6日 4月, 午後9時7分
Set minimum interval size:
0
100
38
58
38 — 58
Set maximum interval size:
0
100
41
91
41 — 91
Dragging interval:
0
100
30
70
30 — 70
×
Search