On Mon, Oct 5, 2009 at 11:42 AM, DBJDBJ <dbj...@gmail.com> wrote:
> @Scott, please look into:  http://jsbin.com/ipabi/edit
>
> This code works (nicely) in FF and C, and (not so nicely)  IE
> (btw: there is no global 'toggle' in there)

Perhaps not global, but it is shared among everything matching
"tr.parent".  It doesn't work properly in FF at least.  Click one row
to expand, then click a second, and nothing happens...

> The "suffering" the previous simple code is enduring is coming from
> toggle() not working in IE ...
> This is easy to see at http://dbj.org/h.htm

You may be right about toggle not working properly.  I would need a
clearer test than that.  But as Karl pointed out, there is a real
problem in IE when trying to animate table rows/cells.

Here are several different versions of this page:

    http://jsbin.com/ebena (code http://jsbin.com/ebena/edit)
    http://jsbin.com/ajari (code http://jsbin.com/ajari/edit)
    http://jsbin.com/ejihu (code http://jsbin.com/ejihu/edit)
    http://jsbin.com/alumo (code http://jsbin.com/alumo/edit)
    http://jsbin.com/aguxo (code http://jsbin.com/aguxo/edit)
    http://jsbin.com/oteno (code http://jsbin.com/oteno/edit)

All of them work in IE6/7 (I don't have 8 available at the moment.)
The last two use toggle in two different ways.

So I don't think toggle is entirely broken in IE.

Can you build up from one of these to what you want to see what breaks
it?  (Column definitions, perhaps, in the table?)

One thing to note is that there are different signatures for toggle:

    http://docs.jquery.com/Effects/toggle
    http://docs.jquery.com/Effects/toggle#switch
    http://docs.jquery.com/Effects/toggle#speedcallback
    http://docs.jquery.com/Events/toggle#fnfn2fn3.2Cfn4.2C...

If you're calling with a number of functions, it looks as though it
will choose a successive function to run after each call, but in that
case, it does not automatically hide or show the element; is that
right?

Good luck,

  -- Scott

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to