Changeset 617
- Timestamp:
- 02/15/06 14:33:46 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
mochikit/branches/scriptaculous/MochiKit/Visual.js
r616 r617 438 438 effect = (effect || 'appear').toLowerCase(); 439 439 options = MochiKit.Base.update({ 440 queue: {position: 'end', scope: (element.id || 'global') }440 queue: {position: 'end', scope: (element.id || 'global'), limit: 1} 441 441 }, options || {}); 442 442 MochiKit.Visual[MochiKit.DOM.isVisible(element) ? … … 532 532 effect.startOn += timestamp; 533 533 effect.finishOn += timestamp; 534 this.effects.push(effect); 534 if (!effect.options.queue.limit || (this.effects.length < effect.options.queue.limit)) { 535 this.effects.push(effect); 536 } 537 535 538 if (!this.interval) { 536 539 this.interval = setInterval(MochiKit.Base.bind(this.loop, this),
