pdcounter fix
[wolnelektury.git] / wolnelektury / static / js / catalogue.js
index 076ae4e..9fd03d3 100644 (file)
@@ -447,6 +447,33 @@ function serverTime() {
             return false;
         });
 
             return false;
         });
 
-        $('marquee').marquee()
+        $('.sponsor-logos').cycle({timeout: 3000});
+
+        $('.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');
+            if($(this).parent().next('ul:not(:hidden)').length == 0){
+               $(this).parent().next('ul').toggle('slow');
+           }
+            return false;
+        });
+
     });
 })(jQuery)
     });
 })(jQuery)