[jQuery] How should :nth-of-type work?

2006-10-03 Thread George Adamson
Just canvassing opinions on the :nth-of-type() selector that is in now being tested in the http://www.softwareunity.com/sandbox/JQueryMoreSelectors/ Selectors Plugin (plus other ...-of-type selectors). At face value it would

Re: [jQuery] How should :nth-of-type work?

2006-10-03 Thread Jörn Zaefferer
George Adamson schrieb: Just canvassing opinions on the :nth-of-type() selector that is in now being tested in the http://www.softwareunity.com/sandbox/JQueryMoreSelectors/ Selectors Plugin (plus other ...-of-type selectors). Do you have an example at hand where this selector is actaully

Re: [jQuery] How should :nth-of-type work?

2006-10-03 Thread George Adamson
Good point J?rn, thank you. (I've not found a good use for :nth-of-type() myself, but someome will!) More interesting as it turns out, is the :nth-sibling-of-type() selector that I created accidentally... It turns out to be a simple way of returning TD elements in the same column of a table.

Re: [jQuery] How should :nth-of-type work?

2006-10-03 Thread John Resig
I use to have all the *type selectors implemented, but after a quick survery I couldn't find anyone who actually used them (and who could've just used :nth-child() instead). Although, its' probably a good idea to have these in an external plugin, for completeness, in case anyone wants them. Good