Hi I am having trouble with jQuery and Google Chrome (and I guess
webkit) selector

Basically I have a bit of code than does a wrapInner of
my .bannergroup classes (wraps it's children with a div.carouselBelt)

OK when I use Firefox I can do this....

$('.bannergroup').find('.carouselBelt').position();

With Chrome it fails (unable to get offset parent BUT this works

$('.bannergroup').find('.carouselBelt')[0].position()

....very odd as [0] should return an element but actually returns the
jQuery object

You can see this on a live site at www.greenbox.com.au (which is still
being made to work for various browsers IE6 and Safari/Chrome in
particular)





Reply via email to