blob: 3b068c2f44a552c911610346dab9d18718e5249c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/* Css class for an Horizontal Slider */
.hslider
{
background-color: rgb(170,170,170);
width: 200px;
height: 5px;
}
/* Css class for a Vertical Slider */
.vslider
{
background-color: rgb(170,170,170);
width: 5px;
height: 200px;
}
/* Css class for a block cursor as handle */
.handle
{
background-color: red;
cursor: move;
}
/* Dimensions of cursor depend on Direction */
.hslider .handle
{
width: 5px;
height: 10px;
}
.vslider .handle
{
width: 10px;
height: 5px;
}
/* Css class for an image as handle */
.handle-image
{
width: 14px;
height: 15px;
cursor: move;
background: url("TSliderHandle.png") no-repeat;
}
/* Center the image on the track */
.hslider .handle-image
{
top: -5px;
}
.vslider .handle-image
{
left: -5px;
}
|