C_Move.js 946 B

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: hal
  3. // (C) Copyright IBM Corp. 2003, 2017.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function C_Move(el, _hDG1, _h152, _hEZ1, _h931, _hSN1, _h5U1){C_Move.baseConstructor.call(this, null, _h931);this._h0F2=el;this._h4J1=_hDG1;this._hK62=_h152;this._hB12=_hEZ1;this._hCZ=_hSN1;this._hSV1=_h5U1||U_Easing.Sine.F_EaseInOut;};C_Move.F_Extends(C_ParallelAnimations);C_Move.prototype.F_OnBeforePlay=function(){var _hIC2=U_DOM.F_GetRelativeOffset(this._h0F2, this._h4J1);if(!isNaN(this._hK62)){this.F_Push( new C_StyleLengthTween( this._h0F2, "top", _hIC2.top, this._hK62, "px", null, this._hCZ, this._hSV1 ) );}if(!isNaN(this._hB12)){this.F_Push( new C_StyleLengthTween( this._h0F2, "left", _hIC2.left, this._hB12, "px", null, this._hCZ, this._hSV1 ) );}C_Move.superClass.F_OnBeforePlay.call(this);};