How to add pop-up menus
An explanation of how to insert a pop-up menu into your documents via XSL and JavaScript.
An introduction
Pop-up menus look nice since they appear to float above the page, and are handy for the user since they appear where and when needed. To see a pop-up menu, you can take a look at the Rich Text demo (https://xopus.com/demo/rich-text) and click on a category such as "Art" from the "Published in" heading. The pop-up menu appears, allowing you to make selections that categorize the sample article, as shown in the image below.
Click through the example topics to see how you can insert a pop-up menu. Inserting a pop-up menu requires relatively minor edits to your XSL and relatively more scripting. We provide code examples with explanations that describe the strategy and reasoning in the code design.