I really didn't know where to post this, so here goes.
I'm testing a very nice mootools script called moofx.js
http://playground.chrisbk.de/moofx/
This script, once installed in the header, allows you to simply add mootools animation effects using css commands alone, albeit custom ones.
That simple command in the div.red part allows you to use the quad animation, for the short length (250ms) for animating the background-color. You can of course animate any of a number of variables, or all variables automatically.Code:div.red { background-color:red; -moofx: short quad background-color; } div.red:hover { background-color:green; }
The problem is this:
The animation goes forward, but not backward (back to unhover state). This works fine on the author's examples page, but not using mootools 1.2.4 in a TL installation. I have created a test page with some animations, but they both only work in the :hover direction, they do not return to normal like on the author's example page.
http://www.visionit.co.za/test.html -- NOT working with Mootools 1.2.4
http://www.visionit.co.za/test2.html -- working with Mootools 1.2b
Anyone got an idea by looking at the mootools code what needs to be modified to make it work with 1.2.4?
Bookmarks