Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2010-01-06 Thread Paul Kim
It is, at least in my FF 3.5.7 on Win 7, but I haven't the slightest clue as to why. Thanks for sharing those demos. On Wed, Jan 6, 2010 at 1:29 PM, Scott Sauyet wrote: > On Jan 6, 3:44 pm, Acaz Souza wrote: > > MooTools:http://www.jsfiddle.net/4vnya/ > > jQuery:http://www.jsfiddle.net/eFbwJ/

Re: [jQuery] Re: jQuery does not stripe visible table rows correctly

2010-01-01 Thread Paul Kim
Thank you all for your helpful suggestions. On Fri, Jan 1, 2010 at 2:37 PM, Karl Swedberg wrote: > > On Jan 1, 2010, at 3:53 PM, Michael Geary wrote: > > I wouldn't use either version. > > Instead, I would change your CSS from: > > tr.rowodd { background-color: #FFF; } > tr.roweven { background-

Re: [jQuery] Re: jQuery does not stripe visible table rows correctly

2010-01-01 Thread Paul Kim
Thank you. Have a great New Year. 2010/1/1 Šime Vidas > Well, definitely the shorter version :) > You can put a comment above to remind you that :even and :odd are > tricky > > // Remember, :even and :odd are zero-based, so it's reversed > $('#foobar tbody tr:visible:even').addClass('rowodd'); >

Re: [jQuery] Re: jQuery does not stripe visible table rows correctly

2010-01-01 Thread Paul Kim
Thanks for your reply. Your solution works. I had a feeling that :even and :odd filters are zero-based, but found that to be "odd" in this situation. So now that I have 2 ways to stripe visible table rows using jQuery, which solution do you prefer? $('#foobar tbody tr:visible:even').addClass('