Recently, I wrote an HTML menu using XML and XSLT. It uses IE "CreatePopup". The whole XSL file is less than 10k.
Just create an XML described in the sample code. I think it's simple and easy to understand. Just try it.
The following is a description of CreatePopup.
The last type of special Window Form supported by Microsoft is a generic form of pop-up Window. Creating a pop-up is very simplejust use the Window.createPopup(), which takes no arguments and returns a handle to the newly created Window.
var myPopup = window.createPopup();
myPopup.show(); // displays created popup
myPopup.hide(); // hides the popup