Working slider with mouse and events

Working slider class with mouse handling (click, drag) and events
(change, slide). Lots of console logs still in the code.

Got rid of some of the legacy code.
This commit is contained in:
s1341 2013-11-28 18:48:11 +02:00
parent 012cd184db
commit 57ed44ff75
3 changed files with 164 additions and 174 deletions

View file

@ -5,22 +5,26 @@
position: absolute;
}
#timeslider .star {
background-image: url(../../static/img/star.png);
cursor: pointer;
height: 16px;
top: 40px;
width: 15px;
}
#timeslider .handle {
.ui-slider-handle {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
background-image: url(../../static/img/crushed_current_location.png);
cursor: pointer;
position: absolute;
}
.ui-slider-handle-star {
background-image: url(../../static/img/star.png);
height: 16px;
top: 20px;
width: 15px;
}
.ui-slider-handle-handle {
background-image: url(../../static/img/crushed_current_location.png);
height: 61px;
left: 0;
top: 0;
top: -14px;
width: 13px;
}