I have a algorithm for a hierarchal menu (menu with submenu) in max.
It is, however, very clumsy.
I think it would be better with a javascript.
However, I have no idea to program for the javascript.
Can anyone convert the following function for javascript for [jsui]?
It would be ok if the basic code is presented.