offset: {x:0, y:0},\r
fixedTop: false,\r
path: 'files/',\r
- onOpen: Class.empty,\r
- onClose: Class.empty,\r
+ onOpen: $empty,\r
+ onClose: $empty,\r
openFromLink: true,\r
relativeToWindow: true\r
};\r
}\r
}, this);\r
\r
- this.containerEffects = new Fx.Styles(this.container, {duration: 400, transition: Fx.Transitions.sineInOut});\r
- this.controlEffects = new Fx.Styles(this.controlsContainer, {duration: 300, transition: Fx.Transitions.sineInOut});\r
+ this.containerEffects = new Fx.Morph(this.container, {duration: 400, transition: Fx.Transitions.sineInOut});\r
+ this.controlEffects = new Fx.Morph(this.controlsContainer, {duration: 300, transition: Fx.Transitions.sineInOut});\r
\r
this.reset();\r
},\r
}\r
}\r
\r
- this.contentEffects = new Fx.Styles(this.contentContainer, {duration: 500, transition: Fx.Transitions.linear});\r
+ this.contentEffects = new Fx.Morph(this.contentContainer, {duration: 500, transition: Fx.Transitions.linear});\r
this.contentEffects.start({\r
opacity: 1\r
});\r
this.options.onClick();\r
}.bind(this));\r
\r
- this.fade = new Fx.Tween(this.container, 'opacity').set(0);\r
+ this.fade = new Fx.Tween(this.container).set('opacity', 0);\r
this.position();\r
\r
window.addEvent('resize', this.position.bind(this));\r