Added missing comma to propaganda text.
[wolnelektury.git] / wolnelektury / media / js / catalogue.js
index 58021fe..599bcf4 100644 (file)
             function() { $(this).css({background: '#FFF'}); }
         );
         
+        $('.show-all-tags').click(function() {
+            $(this).parent().parent().fadeOut(function() { 
+                $(this).next().fadeIn();
+            });
+            return false;
+        });
+        
+        
+        
         $('#registration-form').ajaxForm({
             dataType: 'json',
             beforeSubmit: function() {
             }
         });
         
+        $('ul.shelf-list li').hover(function() {
+            $(this).css({background: '#EEE', cursor: 'pointer'});
+        }, function() {
+            $(this).css({background: 'transparent'});
+        }).click(function() {
+            location.href = $('a.visit-shelf', this).attr('href');
+        });
+        
         $('.delete-shelf').click(function() { 
             var link = $(this);
             var shelf_name = $('.visit-shelf', link.parent()).text();
                     success: function() { setTimeout(function() { $('#user-shelves-window').jqmHide() }, 1000) }
                 });
                 
+                $('input', hash.w).labelify({labelledClass: 'blur'});
+                
                 $('ul.shelf-list li', hash.w).hover(function() {
                     $(this).css({background: '#EEE', cursor: 'pointer'});
                 }, function() {