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
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.
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:
>
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
:)
4 matches
Mail list logo