I was also insert a iframe into panel, but the problem that i faced is the
autohide doesn't works, the panel act like this: it's weirdly calling the
hidden and show event, that's should not be happen.
___
dev-platform mailing list
On Friday, May 17, 2013 12:20:13 AM UTC+2, Neil wrote:
display: none; destroys the nsIFrame object (in this case an
nsMenuPopupFrame), thus closing the panel.
Is there another way to make the panel invisible without destroying the
nsIFrame?
I can't see how to open the popup after the content
On Thursday, 16 May 2013 17:27:21 UTC+2, Matthew Gertner wrote:
I have a toolbar button that displays a XUL panel when pressed. The panel
contains an iframe into which an HTML page is loaded. To avoid flicker, I'd
like to defer display of the panel until the HTML page has finished loading
On Friday, May 17, 2013 10:40:12 AM UTC+2, Matthew Gertner wrote:
Is there another way to make the panel invisible without destroying the
nsIFrame?
For the record two people emailed me separately to suggest
panel.style.visibility = 'hidden'. This works fine. The only caveat is that I
still
Can't you just avoid calling openPopup until the page is loaded, and
avoid messing with the panel's hidden state completely?
Gavin
On Thu, May 16, 2013 at 8:27 AM, Matthew Gertner
matt...@salsitasoft.com wrote:
I have a toolbar button that displays a XUL panel when pressed. The panel
contains
On Thursday, May 16, 2013 7:20:33 PM UTC+2, Gavin Sharp wrote:
Can't you just avoid calling openPopup until the page is loaded, and
avoid messing with the panel's hidden state completely?
I tried that but it seemed like the iframe didn't have a docShell until after
the popup is shown so I
Matthew Gertner wrote:
It seems like the panel is automatically being closed when its hidden property
is set to true.
display: none; destroys the nsIFrame object (in this case an
nsMenuPopupFrame), thus closing the panel.
--
Warning: May contain traces of nuts.
7 matches
Mail list logo