Witam,
w jaki sposób nadać w tym wypadku slideDown nowe wymiary tak aby efekt był płynny,bez skakania?
Próbowałem tak,ale jestem kiepski z jquery i cieżko mi sobie jeszcze pare rzeczy wyobrazić:
  1. function content(){
  2. var $button = $j('#menu p'),
  3. $actionContent = $j('#actionContent');
  4.  
  5. // alert($actionContent.height());
  6.  
  7. $button.click(function(){
  8. //liczenie aktualnej szerokości diva
  9. baseHeight = $actionContent.height();
  10.  
  11. $actionContent.slideUp("slow",function(){
  12. });
  13. $actionContent.slideDown("slow", function() {
  14. $actionContent.load("content.html", function() {
  15. newHeight = $actionContent.height();
  16. // alert(baseHeight + newHeight + "px");
  17.  
  18. $actionContent.animate("slow",function(){
  19.  
  20. height:baseHeight + newHeight + "px" });
  21.  
  22. });
  23.  
  24. });
  25. });
  26.  
  27.  
  28. }


Przykład live: http://omxd.strefa.pl/test.html
Z góry dzięki
pozdrawiam