[jQuery] jQuery 1.2 functionality
Hi all!
I like jQuery a lot and have used it in couple projects
now. But one thing I really don't get is the "slideUp" and "slideDown"
functions. Why can't I decide which way the animation goes?? I really
think they (the functions) should be more generic. While browsing the
road map for jQuery 1.2 I saw the Relative Animations section which is
exactly what I want. It would be obvious if slideUp/slideDown uses this
new method but wouldn't be nice if there where a shorthand to achieve
this?
I propose slideUp/slideDown(string<div id="mb_0">/number, string direction); where direction can be "up", "right", "down" or "left".
For now I'll settle with animate and some CSS mumbo jumbo.
Anyway, thanks for your time - you took to read this :-)</div>