AJS.fx = (_shades: (0: "ffffff", 1: "", 2 ffffee: "ffffdd", 3: "FFFFCC", 4: "ffffbb", 5: "ffffaa", 6: "FFFF99") , vurgulayın: (_1, _2) fonksiyonu (
var _3 = new AJS.fx.Base ();
_3.elm = AJS. $ (_1);
_3.setOptions (_2);
_3.options.duration = 600;
AJS.update (_3, (artışı: function () (
if (this.now == 7) (
_1.style.backgroundColor = "Transparent";
) else (
_1.style.backgroundColor ="#"+ AJS.fx._shades [Math.floor (this.now)];
)
)));
return _3.custom (6,0);
), fadein: (_4, _5) fonksiyonu (
_5 = _5 ||{};
(! _5.from) (if
_5.from = 0;
AJS.setOpacity (_4, 0);
)
(! _5.to) (if
_5.to = 1;
)
var, "",) _5 opacity = yeni AJS.fx.Style (_4 s;
return s.custom (_5.from, _5.to);
), fadeout: (_7, _8) fonksiyonu (
_8 = _8 ||{};
(! _8.from) (if
_8.from = 1;
)
(! _8.to) (if
_8.to = 0;
)
_8.duration = 300;
var, "",) _8 opacity = yeni AJS.fx.Style (_7 s;
return s.custom (_8.from, _8.to);
), setWidth: (_a, _b) fonksiyonu (
var = yeni AJS.fx.Style s (_a, "width", _b);
return s.custom (_b.from, _b.to);
), setHeight: function (_e) _d (
var ( "height", _e) _d = yeni AJS.fx.Style s;
return s.custom (_e.from, _e.to);
));
AJS.fx.Base = new AJS.Class ((init: function () (
AJS.bindMethods (bu);
), setOptions: (_10) fonksiyonu (
this.options = AJS.update ((ONSTART: function () (
), onComplete: function () (
), geçiş: AJS.fx.Transitions.sineInOut, süresi: 500, wait: true, FPS: 50), _10 ||{});
), adım: function () (
var _11 = new Date (). getTime ();
if (_11 <this.time + this.options.duration) (
this.cTime = _11-this.time;
this.setNow ();
) else (
setTimeout (AJS. $ b (this.options.onComplete, bu, [this.elm]), 10);
this.clearTimer ();
this.now = this.to;
)
this.increase ();
), setNow: function () (
this.now (this.from, this.to) this.compute =;
), hesaplamak: function (_12, için) (
_14 = için _12 var;
geri this.options.transition (_12, _14, this.options.duration) this.cTime;
), clearTimer: function () (
clearInterval (this.timer);
this.timer = null;
return this;
), _start: function (_15, için) (
(! this.options.wait) (if
this.clearTimer ();
)
(this.timer) (if
return;
)
setTimeout (AJS. $ p (this.options.onStart, this.elm), 10);
this.from = _15;
this.to = için;
this.time = new Date (). getTime ();
this.timer = setInterval (Math.round (1000/this.options.fps)) this.step;
return this;
), özel function (_17, için) (
return this._start (_17, kadar);
), set: () işlevini (
this.now = için;
this.increase ();
return this;
), setStyle: (karaağaç, _1b, val) fonksiyonu (
if (== "opacity") (this.property
AJS.setOpacity (karaağaç, val);
) else (
AJS.setStyle (karaağaç, _1b, val);
)
)));
AJS.fx.Style = AJS.fx.Base.extend ((init: (karaağaç, _1e, _1f) fonksiyonu (
this.parent ();
this.elm = elm;
this.setOptions (_1f);
this.property = _1e;
), artışı: function () (
this.setStyle (this.elm, this.property, this.now);
)));
AJS.fx.Styles = AJS.fx.Base.extend ((init: (karaağaç, _21) fonksiyonu (
this.parent ();
this.elm = AJS. $ (karaağaç);
this.setOptions (_21);
this.now = ();
), setNow: function () (
this.from (p) için (
this.now [P] (this.from [P], this.to [P]) this.compute =;
)
), özel: (obj) fonksiyonu (
if (this.timer & & this.options.wait) (
return;
)
var _23 = ();
var to = ();
obj (p) için (
_23 [P] = obj [P] [0];
[P] = obj [P] [1]; için
)
return this._start (_23, kadar);
), artışı: function () (
this.now da (var p) için (
this.setStyle (this.elm, p, this.now [p]);
)
)));
AJS.fx.Transitions = (linear function (t, b, c, d) (
return c * t / d + b;
), sineInOut: (t, b, c, d) fonksiyonu (
return-c / 2 * (Math.cos (Math.PI * t / d) -1) + b;
));
script_loaded = true;


