First of all i'd like to thank Olaf for this wonderfull code, it's just great.
(Sorry for my bad english in advance)
Nevertheless the script is great, there is one thing i'd like to ask:
I'd like to use this script for the navigation of a website with dynamic content. There is one templatefile ("index.php") beeing used and content was loaded this way until i found you script: "index.php?area=1".
Now i thought i could load my contents with "index.php?menu=*" instead of "area", beacaue "menu=*" ist generated by the Script.
Now my list looks like this:
-Top1
-Sub
-Sub
-Top2
-Sub
-Sub
The Problem in an example: Top1 delivers "index?menu=1", but the subs of Top1 inherit the "index?menu=1". I cannot change content this way.
Do you know a way how to get different "menu"-values in the subnavigation, or to get the navigation work for my purpose?
Thank you a lot.