Thanks for your help guys. Direct decen
I will take a look at the plugin you have been developing. On Thu, Nov 20, 2008 at 4:50 PM, Andy Matthews <[EMAIL PROTECTED]>wrote: > > Without seeing the rest of the code, the > .hitarea is a CSS selector for > direct descendants. There's generally something on the left of the angle > bracket such as : > > body > .hitarea > > Which would apply ONLY to those objects with a class of hitarea directly > inside the body tag. > > -----Original Message----- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of alextait > Sent: Thursday, November 20, 2008 9:00 AM > To: jQuery (English) > Subject: [jQuery] treeview pluging issues - .find(">.hitarea") > > > I am fairly new to jquery and I am trying to create a product/category > browser/tree using the treeview plugin and ajax. > > My first simple issue is this peice of code i am trying to understand. > > .find(">.hitarea") > > what is happening here ? I understand the find functino but not sure > about the chevron usage ? > > the overall problem is this. > > On viewing my list. if i click on one of the initial categories the > second sub categories show up fine. I can then contract this sub list > if i wish. If i leave this open and click on one of the sub categories > for some reason i cannot then contract it again. > > I have looked into the treeview plugin code and found that the > "toggler" method which would normaly just contract the list branch > fires twice causing it to hide again. > > If anyone has any idea on thie general problem that would be great. > > thanks for any help in advance > > > -- Alex Tait