Hi Niels,
Yeap, thats the way to do it. You've created your own html/js (similar can be done via html/css) but choosing a light weight jquery is a good choice.
I'd suggest creating your own functions that allow you to abstract the menu into functions (or a class, if you lean that way).
This way you can place all the html/js into one place making it easy to upgrade or fix if something changes in your dependencies (jquery, nt, etc).
eg.
DropDownMenu = DDMStart()&|
DDMItem('Item 1','Item1Browse')&|
DDMItem('Item 2','Item2Browse')&|
DDMItem('Item 3',CreatePopup('Item3Browse','Title',...))&|
DDMEnd()
Or a class with a stringtheory object, and a method for adding items, and a method to return the value, that appends and prepends the appropriate html.
Regards
Bill