Timeslider is working

This commit is contained in:
Peter 'Pita' Martischka 2011-06-20 15:37:41 +01:00
parent 44aa476ec0
commit 867525945d
7 changed files with 84 additions and 88 deletions

View file

@ -346,16 +346,16 @@ function loadBroadcastSliderJS()
{
var self = this;
$(self).css('background-image', 'url(/static/img/pad/timeslider/crushed_button_depressed.png)');
$(self).css('background-image', 'url(/static/img/crushed_button_depressed.png)');
$(self).mouseup(function (evt2)
{
$(self).css('background-image', 'url(/static/img/pad/timeslider/crushed_button_undepressed.png)');
$(self).css('background-image', 'url(/static/img/crushed_button_undepressed.png)');
$(self).unbind('mouseup');
BroadcastSlider.playpause();
});
$(document).mouseup(function (evt2)
{
$(self).css('background-image', 'url(/static/img/pad/timeslider/crushed_button_undepressed.png)');
$(self).css('background-image', 'url(/static/img/crushed_button_undepressed.png)');
$(document).unbind('mouseup');
});
});