Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion slideToggle() bug?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Scott Sauyet  
View profile  
 More options Jan 18 2010, 11:39 am
From: Scott Sauyet <scott.sau...@gmail.com>
Date: Mon, 18 Jan 2010 11:39:10 -0500
Local: Mon, Jan 18 2010 11:39 am
Subject: Re: [jquery-dev] slideToggle() bug?

On Fri, Jan 15, 2010 at 5:59 PM, ScottChiefBaker <scott.ba...@gmail.com> wrote:
> http://jsbin.com/ovemo

> toggle('slow') and slideToggle('slow') both do the same thing. Is this
> somehow related to "display: block" on the sliding image? Is there
> another way to slide in and out the last cell of the table? Or is this
> an actual bug?

I think what you'll find is just that animating table rows is very difficult:

    http://tinyurl.com/y8esbgw

You may find animating the opacity on the row an acceptable substitute.

If you're determined to slide up and down, you probably need to work
with the visible state yourself, add a wrapper element to the content
of each TD in the row, and slide that up or down, hiding or showing
the row itself at the appropriate time.  Here is a version that works
in FF, Chrome, Safari, and Opera:

    http://jsbin.com/edoqa

But it doesn't work in IE, which really does not like these sorts of
manipulations of table rows.  I don't know if there's an easy fix to
that.

But I personally don't like the extra wrappers needed to make it work.
 If fading opacity is acceptable to you, that should be easy to
implement.

Good luck,

  -- Scott


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.