I have this code:
<?xul-overlay href="chrome://myextention/popup.xul"?>
<toolbarbutton id="button" type="menu">
<panel id="popup" />
</toolbarbutton>
When I click the button
it opens the popup
panel. Now I want to open the same panel when I click an element in another window. I'm getting the current browser with navigator:browser
, finding the panel ( e.g. panel.state
works ) and trying to open it but it doesn't work.
I've tried openPopup
, open = true
and openPopupAtScreen
- none of this works. Any ideas?