X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4cd89c7304fb432da17b5fbbd352de666ff49a33..22a9e609d7f00bac9d88306d3c9f4cf3bd244dee:/wolnelektury/static/js/catalogue.js?ds=inline diff --git a/wolnelektury/static/js/catalogue.js b/wolnelektury/static/js/catalogue.js index 31bad6eac..cb31654c9 100644 --- a/wolnelektury/static/js/catalogue.js +++ b/wolnelektury/static/js/catalogue.js @@ -462,5 +462,29 @@ function serverTime() { $(this).data('drag', false); }); + $('.widget-code').focus( + function(){ + $(this).animate({rows: '11'}, 100, function(){ + this.select(); + $(this).click(function(){ + this.select(); + }); + }) + + } + ).blur( + function(){ + $(this).animate({rows: '1'}, 300, function(){ + $(this).unbind('click'); + }) + } + ); + + $('.book-list-index').click(function(){ + $('.book-list-show-index').hide('slow'); + $(this).parent().next('ul').toggle('slow'); + return false; + }); + }); })(jQuery)