you could try the $().slideUp(500) and $().slideDown(500) On Mon, Oct 19, 2009 at 10:32 AM, Bi Jing <beco...@gmail.com> wrote:
> Hi Eric, > > What animation you talked about? Sorry I cant find it out, could you please > clear it? > > If you mention the menu. I think there already an excellent implement by > JQuery UI. > > http://docs.jquery.com/UI/Accordion > > P.S. I'm from DaLian, please feel free to contact me directly. > > Hope that helps. > Becoder > > On Sun, Oct 18, 2009 at 10:14 AM, Eric Chen <o...@qq.com> wrote: > >> >> Hi, this is Eric from Shanghai China, sorry for my bad English. >> I am a jQuery Fans. >> >> My site is now under building, the page of the animation is: >> http://www.imczy.com/EN/support-me.html >> >> The codes I achieve this animation are as follows: >> >> //like goadddy >> $.fn['_fadeOut'] = function(){ >> this.css('overflow', 'hidden'); >> this.css('padding', '0'); >> this.css('border', '0'); >> return this.animate({ >> height : "hide" , opacity : "0.1" } , 500); >> }; >> $.fn['_fadeIn'] = function(){ >> this.css('overflow', ''); >> this.css('padding', ''); >> this.css('border', ''); >> return this.animate({ >> height : "show" , opacity : "1" } , 500); >> }; >> >> However, as you seen, I will have a short animation unsmoothly, can >> you give me some more suggestion? >> >> Thank you very much! >> Sorry for my Bad English! >> > >