Forum Moderators: open
I'm trying to build a XUL interface that includes a toolbar menu;
ie when the menu trigger is activated, it drops down a menu of commands or options.
This is producing something similar to what I need:
<menulist id="currencyselect">
<menupopup>
<menuitem label="dollar"/>
<menuitem label="pound"/>
<menuitem label="yen"/>
<menuitem label="euro"/>
</menupopup>
</menulist>
However, this menulist is inside a <box>, so when the popup is triggered, it enlarges the box itself, i.e. makes it really tall. What I want is something that overlaps the rest of the window, like when you go to your Bookmarks.
gosh, it's kind of hard to explain
I'll start noodling with the CSS and see if that gets me anywhere
<menupopup position="overlap">
You might find the reference handy, too: [developer.mozilla.org...]
BTW, the <menupopup> @position attribute does something different from what I was looking for, but it's a neat feature to know about; some of these XUL elements allow way more customization than their HTML cousins