I've inherited a project that is using MooTools 1.11 and need help
writing a FX.tween from version 1.2.3 to work with 1.11. Here is the
code that I need help with. I've read the documentation and seen the
examples for MooTools 1.11 (fx.base, fx.transitions, and fx.styles)
but I still get syntax errors. Note, I program in PHP and MySql not
ajax. The effect is suppose to horizontally slide in a div that
covers 80% of the browsers window. Any help would be appreciated.
new Fx.Tween(this.bg_div, {
unit : "%", property : "width", duration : 650, transition :
a.easeOut, onComplete : this.bgEffectComplete.bind(this)}
);