[jQuery] Re: problem filtering out via parents() and :not()

2009-05-01 Thread Ricardo
No #detailsNavigation in your HTML.. and why not simply $ (.metaSection a).click(function(){... ? Also you can swap $thisA.is (:not... for !$thisA.hasClass('noSwap'), much less overhead. Despite that code looks fine, could you provide a working sample at jsbin.com or the likes? On May 1, 12:29 

[jQuery] Re: problem filtering out via parents() and :not()

2009-05-01 Thread Alexandre Plennevaux
hi Ricardo! in fact i removed all code that was out of the realm of this issue, to not make you guys read 50 lines of codes. i keep the hasClass() suggestion though ! i don't understand why parents().is(':not() does not work though. I wonder if there isn't a bug because it used to work before,