diff --git a/js/list.js b/js/list.js index 6070978b..a89d8d19 100755 --- a/js/list.js +++ b/js/list.js @@ -111,4 +111,25 @@ function show(){ $("#chan").removeClass("bigChan"); $("#chan").html(chan); } -} \ No newline at end of file +} + + +function ks() +{ + list = $.ajax({ type: "GET", + url: "php/change.php", + async: false + }).responseText; + list = $.parseJSON(list); + myScroll.destroy(); + myScroll = null; + $("#playlist").css({height: $("#player").height()}); + $("#playlist").css({overflow: "hidden"}); + myScroll = new IScroll('#playlist', { + mouseWheel: true, + scrollbars: false, + scrollY: true, + interactiveScrollbars: false + }); + scroller = true; +}