Changeset 3956
- Timestamp:
- 11/27/07 23:35:48 (1 year ago)
- Files:
-
- 1 modified
-
trunk/fx/experimental/fx.fade.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fx/experimental/fx.fade.js
r3955 r3956 6 6 7 7 // Create element 8 var el = $(this) ;8 var el = $(this), props = ['opacity']; 9 9 10 10 // Set options … … 13 13 14 14 // Adjust 15 el.show(); //Show15 $.ec.save(el, props); el.show(); // Save & Show 16 16 if(mode == 'show') el.css({opacity: 0}); // Shift 17 17 … … 22 22 el.animate(animation, o.speed, o.options.easing, function() { 23 23 if(mode == 'hide') el.hide(); // Hide 24 if(mode != 'effect') $.ec.restore(el, props); // Restore 24 25 if(o.callback) o.callback.apply(this, arguments); // Callback 25 26 });
