[jQuery] cycle plugin scrollLeft has flickering white line if boxes have a background color colour

2009-01-28 Thread the cliff
Although I did manage to fix it by changing this line opts.cssBefore.left = next.offsetWidth; becomes opts.cssBefore.left = next.offsetWidth-1; so does move everything along by 1 pixel but no more bug & client is happy.

[jQuery] Re: :last & :first not working??

2009-01-15 Thread the cliff
then start small...   copy the example HTML > from the link above and have a page with nothing but that, so you see > it works in your environment.   something else codewise (wrong > selector, some conflict, whatever) is causing an issue > > On Jan 15, 11:32 am, the cliff wrote:

[jQuery] Re: :last & :first not working??

2009-01-15 Thread the cliff
last(or :first) for the first row only as it > will return 1 single object > > you need to do something like > > $("tr").each(function() { $(this).find("td:last").css("border", > "none"); }); > > which will loop across each row and

[jQuery] :last & :first not working??

2009-01-15 Thread the cliff
Hi there, I am doing some table row colouring with :odd (this works as expected), but: $("tr td:last").css("border", "none"); does nothing! I did some further testing on other selectors with other more obvious classes and the selector :last and :first don't seem to select anything. I have tried