Changeset 661

Show
Ignore:
Timestamp:
2008-06-30 20:06:22 (2 months ago)
Author:
arthus
Message:

Made speed improvements on client side animation

Location:
plugins/loupable/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • plugins/loupable/trunk/loupable.css

    r645 r661  
    55    background: #000; 
    66    width: 100%; 
    7     height: 15px; 
     7    height: 50px; 
    88    clear: both; 
    99    margin-bottom:30px; 
    1010    overflow: hidden; 
     11    position:relative; 
     12    top:-35px; 
    1113    } 
    1214 
     
    6567    left:0; 
    6668    display:block; 
    67     top:-2px; 
     69    top:33px; 
    6870    } 
    6971 
     
    7274    width:1px; 
    7375    float:left; 
    74     height:inherit; 
     76    height:50px; 
    7577    text-indent:-100000px; 
    7678    z-index:200; 
  • plugins/loupable/trunk/loupable.js

    r645 r661  
    33    loupe.hover( 
    44        function() { 
    5             $('#timeline, #timeline .years, #timeline a.item').animate({  
    6                 height: "50" 
    7             }, 500 ); 
    8             $('#timeline .years .months div span').animate({  
    9                 top: "33" 
     5            $('#timeline').animate({  
     6                top: "0" 
    107            }, 500 ); 
    118        }, 
    129        function() { 
    13             $('#timeline, #timeline .years, #timeline a.item').animate({  
    14                 height: "15" 
    15             }, 500 ); 
    16             $('#timeline .years .months div span').animate({  
    17                 top: "-2" 
     10            $('#timeline').animate({  
     11                top: "-35" 
    1812            }, 500 ); 
    1913        }