X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cf9abb6f419c407ad53036d24c36b50105adeeff..bc0fb62d35eae0850d48e92bece1873664ca2410:/wolnelektury/static/js/catalogue.js?ds=inline diff --git a/wolnelektury/static/js/catalogue.js b/wolnelektury/static/js/catalogue.js index cb31654c9..9679607e5 100644 --- a/wolnelektury/static/js/catalogue.js +++ b/wolnelektury/static/js/catalogue.js @@ -447,20 +447,7 @@ function serverTime() { return false; }); - $('marquee').marquee().mouseover(function () { - $(this).trigger('stop'); - }).mouseout(function () { - $(this).trigger('start'); - $(this).data('drag', false); - }).mousemove(function (event) { - if ($(this).data('drag') == true) { - this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX); - } - }).mousedown(function (event) { - $(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft); - }).mouseup(function () { - $(this).data('drag', false); - }); + $('.sponsors').cycle({timeout: 3000}); $('.widget-code').focus( function(){