[jQuery] Re: Reversing slideDown/slideUp behavior

2008-06-19 Thread Scott González
If you position your elements using bottom instead of top, they'll slide in the opposite direction. On Jun 15, 2:45 pm, fallingandlaughing <[EMAIL PROTECTED]> wrote: > Hello, > > I have what seems like a pretty basic question about the slideDown/ > slideUp effects, but I'm new-ish to jquery and h

[jQuery] Re: Reversing slideDown/slideUp behavior

2008-06-18 Thread fallingandlaughing
Thanks, Andrea, for the tutorial link. Looks like I might need to have a go at writing my first custom animation! Isaak, the slideToggle method works fine when you want the element to reveal itself by sliding down and hide itself by sliding up; I'm trying for an upward reveal and a downward hide.

[jQuery] Re: Reversing slideDown/slideUp behavior

2008-06-16 Thread Isaak Malik
You could simply use the slideToggle() method, so it would be something like this: $('#myElement').slideToggle('fast'); And to check if an element is hidden you can use this: if ( $('#myElement').is(':hidden') ) alert('It is hidden!'); On 6/15/08, fallingandlaughing <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: Reversing slideDown/slideUp behavior

2008-06-16 Thread andrea varnier
On 15 Giu, 20:45, fallingandlaughing <[EMAIL PROTECTED]> wrote: > Hello, try and take a look at this great tutorial by karl swedberg http://www.learningjquery.com/2008/02/simple-effects-plugins :)