Hi, i am trying to get the number of child sections to display on a section name....i am using the javascript yahoo menu....and on my subsections i want to display how many sections are inside it like section name (3)
i tried using this method
ar[i].pChild.length
which works and shows how many section are in the current section but i need how many are in the third subsection...the ones which arent generated in the script......so basically i need something like
ar[i].pChild.pChild.length
but this doesnt work....im sure norman would know if he is around
help woulod be greatly appreciated
i tried using this method
ar[i].pChild.length
which works and shows how many section are in the current section but i need how many are in the third subsection...the ones which arent generated in the script......so basically i need something like
ar[i].pChild.pChild.length
but this doesnt work....im sure norman would know if he is around
help woulod be greatly appreciated
Comment