Trying to create a menu based on results from an adjacency list and DOM. I can get it work with some nasty hacks with loadHTML in the constructor and str_replace in the toString functions. I was looking for something more elegant. http://pastie.org/10672688 Thanks Kev