slideUp/slideDown sync problem
I'm building an accordion menu (trying to do it without an accordion plugin!). This example
http://adamkobrin.com/slidingMenu2.html
works well but I'm wondering:
Is their a way to PERFECTLY sync up the slideDown of one section with the slideUp of the other? Now using this line of code
- $hiddenMenu.slideDown(150).siblings('ul:visible').slideUp(150);
works, but notice the slight shift at the bottom, due to out-of-sync sliding. I've tried altering the timing subtely in the parameters, and with setTimeout, but to no avail.
Thanks