views:

164

answers:

2

I am building a Firefox Extension. I have a popupset that is shown when a toolbar button is pressed and also have working code to close the popupset manually.

The problem I have is that the popupset disappears whenever I click elsewhere. I would like to disable this automatic closure behaviour. I'm sure I've seen a popupset or panel attribute to control this, but can't find a reference any more. Anyone know how to do it?

A: 

Sorted. I'm a twit. Turns out there's a noautohide attribute that can be placed on a panel:

<popupset>
    <panel noautohide="true">
        <!-- insert further content here -->
    </panel>
</popupset>

I was searching for popupset attributes to no avail.

Mat
A: 

Is this working for you? I have tried this on FF3.5 and 3.0, but some how doesn't work for me. My code is

<statusbar id="status-bar">
  <statusbarpanel id="my-panel" label="Join" popup="rem_mainPanel" />
 </statusbar>

 <window id="main-window">
   <popupset>

    <panel noautohide="true" id="rem_mainPanel">
        <label id="rem_DataLabel" value="Here is some data"/>
    </panel>

   </popupset>
</window>

Is there anything else that you did different.

Mudit