/[drupal]/contributions/themes/ablock/js/effects.js
ViewVC logotype

Diff of /contributions/themes/ablock/js/effects.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.4.1, Sat Apr 4 00:26:17 2009 UTC revision 1.1.4.2, Mon Apr 6 18:10:30 2009 UTC
# Line 0  Line 1 
1    // Sidebar collapser
2    $(document).ready(function(){
3    
4            $("div#side-icon").bind('click', function() {
5                    var divwidth = $(this).parent().css('width');
6                    if (divwidth == '800px') {
7                            $(this).parent().animate({ width: '1000px'}, {queue:false,duration:350});
8                            $(this).addClass('open');
9                            } else {
10                            $(this).parent().animate({ width: '800px'}, {queue:false,duration:350});
11                            $(this).removeClass('open');
12                    }
13            });
14            // Search box in sidebar following view | block follow viewport
15        $('#sidebar').scrollFollow({
16                    speed: 500,
17                    offset: 40,
18                    container: 'border'
19            });
20    
21    
22    });

Legend:
Removed from v.1.1.4.1  
changed lines
  Added in v.1.1.4.2

  ViewVC Help
Powered by ViewVC 1.1.2