lesmianator: use cPickle, change main
[wolnelektury.git] / wolnelektury / static / js / catalogue.js
index 31bad6e..4b09de8 100644 (file)
@@ -462,5 +462,23 @@ function serverTime() {
             $(this).data('drag', false);
         });
 
             $(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');
+                })
+            } 
+        );
+
     });
 })(jQuery)
     });
 })(jQuery)