Bug Tracker

Changeset 4546

Show
Ignore:
Timestamp:
01/28/08 17:51:36 (10 months ago)
Author:
klaus.hartl
Message:

fixed the bouncing effect and corrected the duration parameter

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/fx/fx.bounce.js

    r4365 r4546  
    1313      var distance = o.options.distance || 20; // Default distance 
    1414      var times = o.options.times || 5; // Default # of times 
    15       var speed = o.options.speed || 250; // Default speed per bounce 
     15      var speed = o.options.duration || 250; // Default speed per bounce 
    1616       
    1717      // Adjust 
     
    4040        distance = (mode == 'hide') ? distance * 2 : distance / 2; 
    4141      }; 
     42      el.dequeue(); 
    4243      if (mode == 'hide') { // Last Bounce 
    4344        var animation = {opacity: 0};