Hey, no problem, Richard. I hope I didn't seem too abrupt with my reply.

By the way, :nth-child() is actually a CSS3 (pseudo-class) selector:

http://www.w3.org/TR/css3-selectors/#nth-child-pseudo

it'll be really cool when browsers start supporting these. In the meantime, we have jQuery. :)
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Mar 29, 2007, at 2:52 PM, Richard Thomas wrote:

Sorry I don't know the xpath/selectors that well yet.

I "had" problems with just the show and hide in the past, so I had to
use custom code like the following

toggleClasstr = 'block'
// Supports DOM2 requires specific style
if ( window.addEventListener != undefined ) {
   toggleClasstr = 'table-row';
}

Looks like this was fixed in jquery which is nice I can get rid of my
extra code.

On 3/29/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
On Mar 29, 2007, at 1:40 PM, Richard Thomas wrote:
You would need to hide every cell in the row

I don't know what you're getting at here. If you mean every cell in the *column*, then that is exactly what 'td:nth-child(n)' would get. But maybe
I'm misunderstanding you.


also I don't know if its
fixed in jQuery but IE and Firefox differ in how to unhide the cell,
one requires being set to block mode the other to table-cell or
something, don't remember off the top of my head.

This is only an issue with the animated show and hide methods. Just using
.show() and .hide() isn't a problem.

--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com





_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to