Thanks a lot Pierre.
On Sat, Feb 14, 2009 at 11:28 AM, FCY-Pierre <fcy...@gmail.com> wrote: > > Hi, > > The slideUp effect has a callback function. > It was called when the animation is complete. > > So, this code should works > > $('#myDiv').slideUp('slow',function(){$('myTopDiv').addClass('myclass');}); > > pierre > > Alain Roger a écrit : > > Hi, >> >> i have 2 divs (one on the top and one below). >> when user click on top div, the bottom div is SlidingUp slowy and the top >> div class should change. >> this works well, but to make it perfect i would like to be sure that my >> bottom div is completly slided Up before to change class of my top div. >> >> how can i do that ? >> thx >> >> -- >> Alain >> ----------------------------------------------------------- >> Windows XP x64 SP2 / Fedora 10 KDE 4.2 >> PostgreSQL 8.3.5 / MS SQL server 2005 >> Apache 2.2.10 >> PHP 5.2.6 >> C# 2005-2008 >> > > > -- Alain ----------------------------------------------------------- Windows XP x64 SP2 / Fedora 10 KDE 4.2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008