path throw menu
2008/06/30 10:44
Viewed 2158 times
Replies: 0/0

I have menu with 5 level.
for example:

  • menu
    • menu 1
      • menu 1.1
        • menu 1.1.1.
          • menu 1.1.1.1
          • menu 1.1.1.2
          • menu 1.1.1.3
      • menu 1.2
        • menu 1.2.1
          • menu 1.2.1.1
          • menu 1.2.1.2
    • etc

I need to show in the top of the page full path throw the menu on click at the last level.
something like this: menu --> menu 1.1 --> menu 1.1.1 --> menu 1.1.1.2 by clicking at menu 1.1.1.2

Before using Dynarch menu i've used parentElement.innerText to get that. But with Dynarch menu this metod is not working. I've found out that there is metod "parent" in Dynarch menu but this metod returns an odject without label property and without innerText ot innerHTML.

Is there any method to get this content?

Google