Plot tihickens ;o)

If I do it this way , then it works fine in FF and C., display is
"dispplay-tablerow", on the TR's toggled to visible.

$(function() {
    $('tr.parent')
                .css("cursor", "pointer")
                .attr("title", "Click to expand/collapse")
                .click(function() {
                     var that = this ;
                    $(that).siblings('.child-' + that.id).toggle();
                    $(that).siblings('.child-' + that.id).each(
                    function() { print($(this).outer(true)); }
                    );
                });
                $('tr[class^=child-]').hide();
    //
});

In IE this still pops up and then off again. But. The toggled TR
markup is valid. That is the style attribute is
style= "DISPLAY: none".

Previously I had a function as a toggle argument :

                    $(that).siblings('.child-' + that.id).toggle(
                    function() { print($(this).outer(true)); }
                    );

This was toggling in FF and C, but the result was TR's with no width
of the parent TR.
This also was not working in IE ...

I left http://dbj.org/h.htm , as it was.. toggle( function ) should
work the same as toggle(), I think.
I mean it should not change the html markup differently.

Maybe jQ gets confused which version of toggle() to use ?

--DBJ

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

Reply via email to