summaryrefslogtreecommitdiffstats
path: root/user_guide/nav/moo.fx.js
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2010-11-10 22:47:55 +0100
committerPascal Kriete <pascal.kriete@ellislab.com>2010-11-10 22:47:55 +0100
commit5cf9fdcf08cdfba2078c6a055cccc93043730aeb (patch)
tree60120a8ef157010f5f8e0ef0171da6d7fb844faf /user_guide/nav/moo.fx.js
parent1f2b3f06d951d949f5b565f0955e3e68d32008e2 (diff)
Removing unused js
Diffstat (limited to 'user_guide/nav/moo.fx.js')
-rwxr-xr-xuser_guide/nav/moo.fx.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/user_guide/nav/moo.fx.js b/user_guide/nav/moo.fx.js
index c80697fd2..256371d19 100755
--- a/user_guide/nav/moo.fx.js
+++ b/user_guide/nav/moo.fx.js
@@ -81,39 +81,3 @@ Object.extend(Object.extend(fx.Height.prototype, fx.Layout.prototype), {
else this.custom(0, this.el.scrollHeight);
}
});
-
-fx.Width = Class.create();
-Object.extend(Object.extend(fx.Width.prototype, fx.Layout.prototype), {
- increase: function() {
- this.el.style.width = this.now + "px";
- },
-
- toggle: function(){
- if (this.el.offsetWidth > 0) this.custom(this.el.offsetWidth, 0);
- else this.custom(0, this.el.iniWidth);
- }
-});
-
-//fader
-fx.Opacity = Class.create();
-fx.Opacity.prototype = Object.extend(new fx.Base(), {
- initialize: function(el, options) {
- this.el = $(el);
- this.now = 1;
- this.increase();
- this.setOptions(options);
- },
-
- increase: function() {
- if (this.now == 1) this.now = 0.9999;
- if (this.now > 0 && this.el.style.visibility == "hidden") this.el.style.visibility = "visible";
- if (this.now == 0) this.el.style.visibility = "hidden";
- if (window.ActiveXObject) this.el.style.filter = "alpha(opacity=" + this.now*100 + ")";
- this.el.style.opacity = this.now;
- },
-
- toggle: function() {
- if (this.now > 0) this.custom(1, 0);
- else this.custom(0, 1);
- }
-}); \ No newline at end of file