|Are there any XUL gurus around here?|
| 6:21 pm on Jun 24, 2008 (gmt 0)|
Are there any XULists here?
or should I ask in the Firefox forum?
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:
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
| 7:09 pm on Jun 24, 2008 (gmt 0)|
Think: Sergeant Schultz.
I know nufing. nuFING about XUL.
| 8:12 pm on Jun 24, 2008 (gmt 0)|
Are you saying you have a toolbar button that, when clicked on, reveals a menu (similar to the toolbar added by the Web Developer add-on for Firefox)?
| 8:18 pm on Jun 24, 2008 (gmt 0)|
actually, it looks and acts in every way just like a <select> does in HTML
| 8:34 pm on Jun 24, 2008 (gmt 0)|
I can't seem to replicate this behaviour, could you post more code?
| 9:33 pm on Jun 24, 2008 (gmt 0)|
fyi the code in my toolbar is exactly as above; keep in mind this is being loaded as XUL into the browser's chrome, in an extension, not on an HTML page.
I'll be online later tonight to post more code if it would help...
| 8:32 am on Jun 27, 2008 (gmt 0)|
Alright, I really don't know, but try the following:
You might find the reference handy, too: [developer.mozilla.org...]
| 7:15 pm on Jul 7, 2008 (gmt 0)|
I'm assuming you got this all fixed?
| 1:45 pm on Jul 8, 2008 (gmt 0)|
Sorry eelix, I forgot to offer closure. Yes, it's solved. I had some rogue CSS positioning in there, I deleted a whole pile of stuff in a bloated CSS file and the problem went away. I'm guessing it was something defined with position:relative, or display:block, or overlap:hidden or something like that.
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