Massive FX Update
Massive FX Update
Hello again everyone -
I put a night of work into fighting the fx module, here's the head count:
- I've cleaned up a lot of the code, commented a bunch of it, and
removed some old stuff
- The issue with height/width and the constantly-growing boxes has
been resolved. This was due to padding and differences in the box
model between browsers.
- height/width auto (on animation complete) now works entirely as expected..
... and the big one:
- All effects are now queued! This means that you can throw as many
effects at an element as you want and it won't go bonkers and break.
This is a huge bug that's been around since the very beginning.
I set up an amusing test here:
http://john.jquery.com/jquery/test/slide.html
- Click the 'Slide' button to see every jQuery effect queued together,
back-to-back.
- Click the 'More' button to add some text to the paragraph (this is
to see that height 'auto' is working correctly)
As always, the updates are in SVN and in dev:
http://jquery.com/src/dev/sane/
If you spot any bugs, let me know, as there's all sorts of weird
fringe cases with the fx module, that manage to emerge later on.
--John